-
Notifications
You must be signed in to change notification settings - Fork 280
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] Delete workers' workloads if MK AC is rejected #3938
base: main
Are you sure you want to change the base?
[Fix] Delete workers' workloads if MK AC is rejected #3938
Conversation
Skipping CI for Draft Pull Request. |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
/test pull-kueue-test-integration-main |
@mimowo do you think it's valid test case for this behaviour? |
b7656ca
to
a7a9ccb
Compare
/test pull-kueue-test-integration-main |
12da653
to
6c216dc
Compare
/test pull-kueue-test-integration-main |
g.Expect(managerTestCluster.client.Get(managerTestCluster.ctx, wlLookupKey, createdWorkload)).To(gomega.Succeed()) | ||
acs := workload.FindAdmissionCheck(createdWorkload.Status.AdmissionChecks, multikueueAC.Name) | ||
g.Expect(acs).NotTo(gomega.BeNil()) | ||
g.Expect(acs.State).To(gomega.Equal(kueue.CheckStatePending)) |
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.
Actually, can you describe why the AC is Pending in the first case, but Ready in the other? It is not that clear, why it is Pending here, maybe this is only for a brief period? In that case I'm concerned it could flake. I think we can just start with the second It in that case, as this is the scenario I was thinking about when opening the issue.
6c216dc
to
345461e
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mszadkow The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #3841
Special notes for your reviewer:
Does this PR introduce a user-facing change?