-
Notifications
You must be signed in to change notification settings - Fork 8k
Fix e2e tests when using '--istio.test.revisions' to specify multiple revisions #56548
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
base: master
Are you sure you want to change the base?
Conversation
Just making sure I understand, when we pass the compatibility flags and revisions flags, the test framework will create multiple echo deployments, one for each revision. In a lot of the tests, we send to the service, so we can't be sure which revision we'll end up at. |
Service name does not contain revision, so we should be good. Here I try to fix e2e tests related to deployments/pods, which have revision in their names. |
/test unit-tests |
cc @howardjohn, mind taking a look if you have a chance? Thanks a lot |
e203396
to
d7d0e7b
Compare
/test unit-tests-arm64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the release note. Release notes are only for changes the end users see.
Please provide a description of this PR:
--istio.test.revisions
to specify multiple Istio revisions for the e2e tests, deployment names will append with the revision name. Here is the K8s yaml template: https://github.com/istio/istio/blob/1.26.1/pkg/test/framework/components/echo/kube/templates/deployment.yaml#L13-L17.TestServerRouting
: make the expected podnames contains all items with certain subset version instead of only the first item.TestServiceRestart
: make sure find the correct deployment names to restart when there are multiple Istio revision.