Open stevehorsfield opened 7 years ago
Hi @stevehorsfield I've been bitten by this kind of thing, too. We could probably leverage go-getter to pull in a known revision that you point at, with maybe an optional way to say "build my local Consul".
Actually thinking more on this, we should probably just ensure the version is >= some expected version - that'll hit both cases and should work well and be a simple change.
That sounds like a good solution. I agree there's a lot of permutations to consider here. Thanks for the quick response.
IMO, the test code should not depend on an external binary. We should spin up the consul server from within. I have that on my plate.
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: