consul/build-support/scripts
Matt Keeler 37636eab71
Catalog V2 Container Based Integration Test (#17674)
* Implement the Catalog V2 controller integration container tests

This now allows the container tests to import things from the root module. However for now we want to be very restrictive about which packages we allow importing.

* Add an upgrade test for the new catalog

Currently this should be dormant and not executed. However its put in place to detect breaking changes in the future and show an example of how to do an upgrade test with integration tests structured like catalog v2.

* Make testutil.Retry capable of performing cleanup operations

These cleanup operations are executed after each retry attempt.

* Move TestContext to taking an interface instead of a concrete testing.T

This allows this to be used on a retry.R or generally anything that meets the interface.

* Move to using TestContext instead of background contexts

Also this forces all test methods to implement the Cleanup method now instead of that being an optional interface.


Co-authored-by: Daniel Upton <daniel@floppy.co>
2023-06-16 16:29:50 -04:00
..
build-date.sh Copyright headers for missing files/folders (#16708) 2023-03-28 18:48:58 -04:00
build-docker.sh Copyright headers for missing files/folders (#16708) 2023-03-28 18:48:58 -04:00
check-allowed-imports.sh Catalog V2 Container Based Integration Test (#17674) 2023-06-16 16:29:50 -04:00
devtools.sh Copyright headers for missing files/folders (#16708) 2023-03-28 18:48:58 -04:00
envoy-library-references.sh Various bits of cleanup detected when using Go Workspaces (#17462) 2023-06-05 16:08:39 -04:00
functions.sh Copyright headers for missing files/folders (#16708) 2023-03-28 18:48:58 -04:00
protobuf.sh proto: clear out old ratelimit.tmp files before making new ones (#17292) 2023-05-11 10:36:41 -05:00
release.sh Copyright headers for missing files/folders (#16708) 2023-03-28 18:48:58 -04:00
version.sh Copyright headers for missing files/folders (#16708) 2023-03-28 18:48:58 -04:00