Skip to content

Commit 7c4acf0

Browse files
committed
fix test
1 parent 5ea084b commit 7c4acf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/queue.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,15 @@ var _ = Describe("AppWrapper E2E Test", func() {
120120
// This should fill up the worker node and most of the master node
121121
aw := createDeploymentAWwith550CPU(context, appendRandomString("aw-deployment-2-550cpu"))
122122
appwrappers = append(appwrappers, aw)
123-
time.Sleep(1 * time.Minute)
124123
err := waitAWPodsReady(context, aw)
125124
Expect(err).NotTo(HaveOccurred())
126125

127126
// This should not fit on cluster
128127
aw2 := createDeploymentAWwith426CPU(context, appendRandomString("aw-deployment-2-426cpu"))
129128
appwrappers = append(appwrappers, aw2)
130129
err = waitAWAnyPodsExists(context, aw2)
131-
Expect(err).NotTo(HaveOccurred())
130+
//With improved accounting, no pods will be spawned
131+
Expect(err).To(HaveOccurred())
132132

133133
// This should fit on cluster, initially queued because of aw2 above but should eventually
134134
// run after prevention of aw2 above.

0 commit comments

Comments
 (0)