-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Allow emulation version to be set in integration test #127643
Allow emulation version to be set in integration test #127643
Conversation
/assign @jpbetz @aaron-prindle |
/lgtm |
LGTM label has been added. Git tree hash: ba3d3aed0a15a1c4f1369ffa572fb09f4710c970
|
/lgtm |
Co-authored-by: Joe Betz <jpbetz@google.com>
Co-authored-by: Joe Betz <jpbetz@google.com>
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Jefftree, jpbetz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold Hmm noticed the integration test is failing in Cici's PR: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/127302/pull-kubernetes-integration/1839361843622055936. Going to double check this fix before merging |
Just going to mention it. Thank you! |
looks like when
|
Yeah I see. So we would need to set the feature gate after the emulation version is set, and currently with the PR it's the other way around. |
From talking to Joe, feature gates are generally set before we call StartTestServer so emulation version must be set before that and imo we shouldn't set the emulation version this late in StartTestServer. We should also return an error if a feature gate was overridden and we try to set the emulation version after. |
/hold cancel This is needed for #127302. Will address #127643 (comment) in a follow up |
/lgtm |
LGTM label has been added. Git tree hash: db1f9416b9651fdb061c5242d92f9fc87e90874f
|
What type of PR is this?
/kind bug
What this PR does / why we need it:
Allow emulation version to be set in integration test. Use a VAP test as example for creating a disablement test.
Which issue(s) this PR fixes:
Fixes #127639
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: