Skip to content

Commit

Permalink
Fix int test after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
trasc committed Oct 11, 2023
1 parent da063f4 commit 9a116d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/integration/scheduler/preemption_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,11 @@ var _ = ginkgo.Describe("Preemption", func() {
ginkgo.BeforeEach(func() {
checkAnytime = testing.MakeAdmissionCheck("anytime").Policy(kueue.Anytime).Obj()
gomega.Expect(k8sClient.Create(ctx, checkAnytime)).To(gomega.Succeed())
util.SetAdmissionCheckActive(ctx, k8sClient, checkAnytime, metav1.ConditionTrue)

checkOnDemand = testing.MakeAdmissionCheck("on-demand").Policy(kueue.AfterCheckPassedOrOnDemand).Obj()
gomega.Expect(k8sClient.Create(ctx, checkOnDemand)).To(gomega.Succeed())
util.SetAdmissionCheckActive(ctx, k8sClient, checkOnDemand, metav1.ConditionTrue)

cq = testing.MakeClusterQueue("cq").
ResourceGroup(*testing.MakeFlavorQuotas("alpha").Resource(corev1.ResourceCPU, "4").Obj()).
Expand Down

0 comments on commit 9a116d3

Please sign in to comment.