-
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
Isolate mock signer for externaljwt tests #129059
Conversation
Please note that we're already in Test Freeze for the Fast forwards are scheduled to happen every 6 hours, whereas the most recent run was: Mon Dec 2 16:45:53 UTC 2024. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt 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 |
/assign @ahmedtd |
@liggitt: GitHub didn't allow me to request PR reviews from the following users: HarshalNeelkamal. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
bd4921c
to
311d4c7
Compare
311d4c7
to
1fd7688
Compare
/retest |
/skip |
/lgtm |
@HarshalNeelkamal: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/hold for review |
/triage accepted |
/assign stlaz For review. |
pkg/serviceaccount/externaljwt/plugin/testing/v1alpha1/externalsigner_mock.go
Show resolved
Hide resolved
/hold cancel |
/lgtm |
LGTM label has been added. Git tree hash: 7ff3e9e459f144ede02efa4ccc52c8513a0a7f88
|
…059-upstream-release-1.32 Automated cherry pick of #129059: Isolate mock signer for externaljwt tests
What type of PR is this?
/kind flake
Fixes flake reported in #128190 (comment)
What this PR does / why we need it:
Makes a new mock signer for each instance of the options test to avoid race flakes resetting mock fields between test cases
Switches the mock signer to close gracefully on cleanup
Special notes for your reviewer:
Does this PR introduce a user-facing change?
/sig auth