Skip to content

Commit

Permalink
Fix flaky jobset integration test (#2406)
Browse files Browse the repository at this point in the history
update the expected value to be unsuspended (.Spec.Suspended=false)
  • Loading branch information
mszadkow committed Jun 13, 2024
1 parent 8c93b9c commit 8b217c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ var _ = ginkgo.Describe("JobSet controller", ginkgo.Ordered, ginkgo.ContinueOnFa
createdJobSet1 := &jobsetapi.JobSet{}
gomega.Eventually(func(g gomega.Gomega) {
g.Expect(k8sClient.Get(ctx, jobSetLookupKey, createdJobSet1)).Should(gomega.Succeed())
g.Expect(ptr.Deref(createdJobSet1.Spec.Suspend, false)).To(gomega.BeTrue())
g.Expect(ptr.Deref(createdJobSet1.Spec.Suspend, false)).To(gomega.BeFalse())
}, util.Timeout, util.Interval).Should(gomega.Succeed())
})
})
Expand Down

0 comments on commit 8b217c6

Please sign in to comment.