Skip to content

Commit 68a7399

Browse files
committed
reduce frequency of polling in Consistently
1 parent 60c83a8 commit 68a7399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/appwrapper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ var _ = Describe("AppWrapper E2E Test", func() {
227227
aw3 := createAppWrapper(ctx, deployment(2, 250))
228228
appwrappers = append(appwrappers, aw3)
229229
Eventually(AppWrapperPhase(ctx, aw3), 30*time.Second).Should(Equal(workloadv1beta2.AppWrapperSuspended))
230-
Consistently(AppWrapperPhase(ctx, aw3), 20*time.Second).Should(Equal(workloadv1beta2.AppWrapperSuspended))
230+
Consistently(AppWrapperPhase(ctx, aw3), 10*time.Second, 1*time.Second).Should(Equal(workloadv1beta2.AppWrapperSuspended))
231231

232232
By("Queued job is admitted when quota becomes available")
233233
Expect(deleteAppWrapper(ctx, aw.Name, aw.Namespace)).Should(Succeed())

0 commit comments

Comments
 (0)