Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix e2e tests: do not use istio-ingressgateway in tests #188

Merged
merged 3 commits into from
May 23, 2023

Conversation

eguzki
Copy link
Contributor

@eguzki eguzki commented May 10, 2023

What

Tests should be reproducible and independent from external factors such as the environment or running order. This PR removes the usage of the shared istio-ingressgateway Gateway in the namespace istio-system. The integration tests only work with resources in the temporary namespace created for each test.

Additionally, new RLP integration test is added where the policy targets the custom gateway directly

@eguzki eguzki force-pushed the integration-test-using-custom-gateway branch from 6391285 to 2e050f2 Compare May 16, 2023 15:23
@eguzki eguzki marked this pull request as ready for review May 16, 2023 21:47
@eguzki eguzki requested a review from a team as a code owner May 16, 2023 21:47
@eguzki eguzki force-pushed the integration-test-using-custom-gateway branch from b2116fc to 59c1bb6 Compare May 18, 2023 16:27
@eguzki eguzki merged commit 033ef69 into main May 23, 2023
@eguzki eguzki deleted the integration-test-using-custom-gateway branch May 23, 2023 10:41
didierofrivia pushed a commit that referenced this pull request May 24, 2023
* fix e2e tests: do not use istio-ingressgateway in tests

* controllers/authpolicy_controller_test.go: additional resource state checks

* e2e test: RLP targeting Gateway
didierofrivia pushed a commit that referenced this pull request May 25, 2023
* fix e2e tests: do not use istio-ingressgateway in tests

* controllers/authpolicy_controller_test.go: additional resource state checks

* e2e test: RLP targeting Gateway
didierofrivia pushed a commit that referenced this pull request May 31, 2023
* fix e2e tests: do not use istio-ingressgateway in tests

* controllers/authpolicy_controller_test.go: additional resource state checks

* e2e test: RLP targeting Gateway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants