testutil: Should ensure consul
executable is correct version or use embedded code
#2465
Labels
theme/internal-cleanup
Used to identify tech debt, testing improvements, code refactoring, and non-impactful optimization
type/enhancement
Proposed improvement or new feature
Client:
0.7.0
Server:
0.7.0
Description of the Issue (and unexpected/desired result)
Products such as
consul-template
usetestutil
to spin up Consul servers. While developing a patch I was hitting unexpected issues in tests. The cause was a localconsul
binary being out of date. Note thatconsul-template
includes the fullconsul
repo as a vendor source.Reproduction steps
consul
binary 0.6.3 into the pathconsul-template
and issuemake test
Various failures are experienced.
Upgrade
consul
binary to 0.7.0 and issues are resolved.Suggestion
It would be nice if the test util did one of the following:
The text was updated successfully, but these errors were encountered: