Skip to content

Commit 7eb721a

Browse files
wait for cluster queue and local queue in sts tests (#6168)
Co-authored-by: Kevin Hannon <kehannon@redhat.com>
1 parent fb3812e commit 7eb721a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/e2e/singlecluster/statefulset_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,11 @@ var _ = ginkgo.Describe("StatefulSet integration", func() {
6969
}).
7070
Obj()
7171
util.MustCreate(ctx, k8sClient, cq)
72+
util.ExpectClusterQueuesToBeActive(ctx, k8sClient, cq)
7273

7374
lq = testing.MakeLocalQueue(localQueueName, ns.Name).ClusterQueue(cq.Name).Obj()
7475
util.MustCreate(ctx, k8sClient, lq)
76+
util.ExpectLocalQueuesToBeActive(ctx, k8sClient, lq)
7577
})
7678
ginkgo.AfterEach(func() {
7779
gomega.Expect(util.DeleteNamespace(ctx, k8sClient, ns)).To(gomega.Succeed())

0 commit comments

Comments
 (0)