open-consul/test/integration/consul-container/test/upgrade
Anita Akaeze 4f3bfdbb91
NO_JIRA: refactor validate function in traffic mgt tests (#16422)
2023-02-24 14:34:14 -05:00
..
l7_traffic_management NO_JIRA: refactor validate function in traffic mgt tests (#16422) 2023-02-24 14:34:14 -05:00
README.md test: general cleanup and fixes for the container integration test suite (#15959) 2023-01-11 15:34:27 -06:00
acl_node_test.go Upgrade test: verify the agent token is working after upgrade (#16164) 2023-02-07 14:13:19 -05:00
fullstopupgrade_test.go test: run integration tests in parallel (#16035) 2023-01-24 14:51:50 -05:00
healthcheck_test.go test: run integration tests in parallel (#16035) 2023-01-24 14:51:50 -05:00
helper_test.go test: general cleanup and fixes for the container integration test suite (#15959) 2023-01-11 15:34:27 -06:00
peering_control_plane_mgw_test.go upgrade test: fix flaky peering through mesh gateway (#16271) 2023-02-15 10:26:43 -05:00
peering_http_test.go upgrade test: peering with resolver and failover (#16391) 2023-02-23 12:53:56 -05:00

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.