Skip to content

Commit

Permalink
[flaky tests] Wait for flavor and queue deletion in workload controll…
Browse files Browse the repository at this point in the history
…er tests
  • Loading branch information
trasc committed Mar 23, 2023
1 parent 754e5e4 commit a956f88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/controller/core/workload_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ var _ = ginkgo.Describe("Workload controller", func() {
})
ginkgo.AfterEach(func() {
gomega.Expect(util.DeleteNamespace(ctx, k8sClient, ns)).To(gomega.Succeed())
gomega.Expect(util.DeleteResourceFlavor(ctx, k8sClient, flavor)).To(gomega.Succeed())
gomega.Expect(util.DeleteClusterQueue(ctx, k8sClient, clusterQueue)).To(gomega.Succeed())
util.ExpectClusterQueueToBeDeleted(ctx, k8sClient, clusterQueue, true)
util.ExpectResourceFlavorToBeDeleted(ctx, k8sClient, flavor, true)
})

ginkgo.It("Should update the workload's condition", func() {
Expand Down

0 comments on commit a956f88

Please sign in to comment.