Skip to content

Commit

Permalink
Remove test case
Browse files Browse the repository at this point in the history
  • Loading branch information
IrvingMg committed Apr 16, 2024
1 parent 66e3640 commit e1000f4
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions test/integration/webhook/clusterqueue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,26 +175,6 @@ var _ = ginkgo.Describe("ClusterQueue Webhook", func() {
}, util.Timeout, util.Interval).Should(gomega.Succeed())
})

ginkgo.It("Should allow to update queueingStrategy with same value", func() {
ginkgo.By("Creating a new clusterQueue")
cq := testing.MakeClusterQueue("cluster-queue").
QueueingStrategy(kueue.BestEffortFIFO).
ResourceGroup(*testing.MakeFlavorQuotas("x86").Resource(corev1.ResourceMemory).Obj()).
Obj()
gomega.Expect(k8sClient.Create(ctx, cq)).Should(gomega.Succeed())

defer func() {
util.ExpectClusterQueueToBeDeleted(ctx, k8sClient, cq, true)
}()

gomega.Eventually(func() error {
var updateCQ kueue.ClusterQueue
gomega.Expect(k8sClient.Get(ctx, client.ObjectKeyFromObject(cq), &updateCQ)).Should(gomega.Succeed())
updateCQ.Spec.QueueingStrategy = kueue.BestEffortFIFO
return k8sClient.Update(ctx, &updateCQ)
}, util.Timeout, util.Interval).Should(gomega.Succeed())
})

ginkgo.DescribeTable("Validate ClusterQueue on creation", func(cq *kueue.ClusterQueue, errorType int) {
err := k8sClient.Create(ctx, cq)
if err == nil {
Expand Down

0 comments on commit e1000f4

Please sign in to comment.