Skip to content

Commit

Permalink
Add wait namesapce not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
hzxuzhonghu committed Dec 9, 2019
1 parent 6fc23bc commit e0718d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/e2e/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ func cleanupTestContext(ctx *context) {
deleteQueues(ctx)

deletePriorityClasses(ctx)

// Wait for namespace deleted.
err = wait.Poll(100*time.Millisecond, twoMinute, namespaceNotExist(ctx))
Expect(err).NotTo(HaveOccurred())
}

func createQueues(cxt *context) {
Expand Down

0 comments on commit e0718d6

Please sign in to comment.