-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Add test suite common resource labels and fix dnsrecord cleanup (
#941) * tests: Add common label to all test suite resources All resources created with the common helpers in the integration test suite have a comman label added to more easily find resources created by the test suite: ``` kubectl get ns,gatewayclass,gateway,dnspolicy -l app.kubernetes.io/part-of=kuadrant-test-suite -A ``` * tests: Ensure all dnsrecords are removed in cleanup Ensures all DNSrecord resources in the current spec test namespace are marked for deletion and removed before removing the secret. * tests: Allow overriding packages for integration test Adds a new variable `INTEGRATION_TEST_PACKAGES` which sets the packages used by the `test-integration` make target allowing it to be more easily modified for local development testing. Example: ``` INTEGRATION_TEST_PACKAGES=tests/common/dnspolicy/... INTEGRATION_TESTS_EXTRA_ARGS='-v --repeat=4 --focus="valid target"' INTEGRATION_TEST_NUM_PROCESSES=4 INTEGRATION_TEST_NUM_CORES=2 make test-integration ``` --------- Signed-off-by: Michael Nairn <[email protected]>
- Loading branch information
Showing
4 changed files
with
76 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters