Skip to content

Commit

Permalink
[YUNIKORN-2714] Removing the dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
rrajesh-cloudera committed Sep 6, 2024
1 parent 0afbc2e commit f4e840b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/e2e/user_group_limit/user_group_limit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -661,17 +661,6 @@ 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")
// loop through allQueues.children to find the queue with the name we created
for _, queue := range allQueues.Children {
if queue.QueueName == "root."+queueName {
gomega.Ω(queue.QueueName).To(gomega.Equal("root." + queueName))
} else {
gomega.Ω(queue.QueueName).NotTo(gomega.Equal("root." + queueName))
}
}
queueInfo, err := restClient.GetQueue("default", "root."+url.QueryEscape(queueName), false)
gomega.Ω(err).NotTo(gomega.HaveOccurred())
gomega.Ω(queueInfo.QueueName).To(gomega.Equal("root." + queueName))
Expand Down

0 comments on commit f4e840b

Please sign in to comment.