4f3bfdbb91 | ||
---|---|---|
.. | ||
l7_traffic_management | ||
README.md | ||
acl_node_test.go | ||
fullstopupgrade_test.go | ||
healthcheck_test.go | ||
helper_test.go | ||
peering_control_plane_mgw_test.go | ||
peering_http_test.go |
README.md
Consul Upgrade Integration tests
Local run
- run
make dev-docker
- run the tests, e.g.,
go test -run ^TestBasicConnectService$ ./test/basic -v
To specify targets and latest image pass target-version
and latest-version
to the tests. By default, it uses the consul
docker image with respectively
local
and latest
tags.
To use dev consul image, pass target-image
and target-version
:
-target-image hashicorppreview/consul -target-version 1.14-dev
By default, all container's logs are written to either stdout
, or stderr
;
this makes it hard to debug, when the test case creates many containers. To
disable following container logs, run the test with -follow-log false
.