[release-4.21] OCPBUGS-74418: Add KMS test scenarios#844
[release-4.21] OCPBUGS-74418: Add KMS test scenarios#844gangwgr wants to merge 2 commits intoopenshift:release-4.21from
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@gangwgr: This pull request references Jira Issue OCPBUGS-74418, which is valid. 7 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
@openshift-ci-robot: GitHub didn't allow me to request PR reviews from the following users: gangwgr. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn 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. |
573e9c0 to
35e6e8e
Compare
|
@gangwgr these need to be fixed; I think you may need to run |
35e6e8e to
e03203f
Compare
|
/retest |
e03203f to
e0cd1a5
Compare
|
@gangwgr: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
go.mod
Outdated
| ) | ||
|
|
||
| // PR 2131: OCPBUGS-74418 add KMS test helpers (release-4.21) | ||
| replace github.com/openshift/library-go => github.com/gangwgr/library-go v0.0.0-20260225055023-b41850fe248b |
There was a problem hiding this comment.
this needs to be updated.
/hold
|
/approve We don't need an SBAR for the TP backport. This PR matches openshift/cluster-kube-apiserver-operator#2054 and openshift/cluster-openshift-apiserver-operator#656 /assign @liouk |
|
|
||
| tests := *realPtrToTests | ||
|
|
||
| rand.Seed(time.Now().UnixNano()) |
There was a problem hiding this comment.
nit: rand.Seed() is a no-op on 1.24, which is the current go version unless I'm mistaken -- we could drop this.
| ) | ||
|
|
||
| func TestMain(m *testing.M) { | ||
| randomizeTestOrder(m) |
There was a problem hiding this comment.
Instead of randomizing manually, I wonder whether we could leverage go's -test.shuffle -- then we wouldn't have to resort to such hacks, as they're quite fragile. Has this been considered?
|
|
||
| // TestKMSEncryptionOnOff tests KMS encryption on/off cycle. | ||
| // This test: | ||
| // 2. Creates a test OAuth access token (TokenOfLife) |
e0cd1a5 to
3b02bba
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gangwgr, p0lyn0mial The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
e0cd1a5 to
d44ddaf
Compare
d44ddaf to
e1f994b
Compare
Backport kms test cases to 4.21