diff --git a/test/e2e/user_group_limit/user_group_limit_test.go b/test/e2e/user_group_limit/user_group_limit_test.go index 27055e88d..594275400 100644 --- a/test/e2e/user_group_limit/user_group_limit_test.go +++ b/test/e2e/user_group_limit/user_group_limit_test.go @@ -659,12 +659,13 @@ var _ = ginkgo.Describe("UserGroupLimit", func() { } return nil }) - ginkgo.By("Fetch the queue information using the REST API") allQueues, err := restClient.GetQueues("default") gomega.Ω(err).NotTo(gomega.HaveOccurred()) ginkgo.By("Verify that the queue information is returned correctly") gomega.Ω(allQueues.Children[0].QueueName).To(gomega.Equal("root." + queueName)) + Qerr := restClient.WaitforQueueToAppear("default", "root."+queueName, 20) + gomega.Ω(Qerr).NotTo(gomega.HaveOccurred()) }) ginkgo.AfterEach(func() {