Skip to content

Commit 48bff40

Browse files
e2e: increase reclaimspace and encryptionkeyrotation timeouts
This patch increases timeout from 90 seconds to 180 to account for applied stagger + execution time. Signed-off-by: Niraj Yadav <niryadav@redhat.com>
1 parent ca37931 commit 48bff40

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

test/e2e/encryptionkeyrotation/encryptionkeyrotation_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ var _ = ginkgo.Describe("EncryptionKeyRotation", ginkgo.Ordered, func() {
169169
gomega.Expect(cronJob).NotTo(gomega.BeNil())
170170

171171
ginkgo.By("Waiting for the first EncryptionKeyRotationJob to be created")
172-
createdJob := f.WaitForEncryptionKeyRotationJobCreation(cronJob.Name, 90*time.Second)
172+
createdJob := f.WaitForEncryptionKeyRotationJobCreation(cronJob.Name, 3*time.Minute)
173173
gomega.Expect(createdJob).NotTo(gomega.BeNil())
174174
gomega.Expect(createdJob.Spec.Target.PersistentVolumeClaim).To(gomega.Equal(pvc.Name))
175175

@@ -197,7 +197,7 @@ var _ = ginkgo.Describe("EncryptionKeyRotation", ginkgo.Ordered, func() {
197197
gomega.Expect(cronJob).NotTo(gomega.BeNil())
198198

199199
ginkgo.By("Waiting for the first EncryptionKeyRotationJob to be created")
200-
createdJob := f.WaitForEncryptionKeyRotationJobCreation(cronJob.Name, 90*time.Second)
200+
createdJob := f.WaitForEncryptionKeyRotationJobCreation(cronJob.Name, 3*time.Minute)
201201
gomega.Expect(createdJob).NotTo(gomega.BeNil())
202202
gomega.Expect(createdJob.Spec.Target.PersistentVolumeClaim).To(gomega.Equal(pvc.Name))
203203

test/e2e/reclaimspace/reclaimspace_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ var _ = ginkgo.Describe("ReclaimSpace", ginkgo.Ordered, func() {
280280
gomega.Expect(cronJob).NotTo(gomega.BeNil())
281281

282282
ginkgo.By("Waiting for the first ReclaimSpaceJob to be created")
283-
createdJob := f.WaitForReclaimSpaceJobCreation(cronJob.Name, 90*time.Second)
283+
createdJob := f.WaitForReclaimSpaceJobCreation(cronJob.Name, 3*time.Minute)
284284
gomega.Expect(createdJob).NotTo(gomega.BeNil())
285285
gomega.Expect(createdJob.Spec.Target.PersistentVolumeClaim).To(gomega.Equal(pvc.Name))
286286

@@ -306,7 +306,7 @@ var _ = ginkgo.Describe("ReclaimSpace", ginkgo.Ordered, func() {
306306
gomega.Expect(cronJob).NotTo(gomega.BeNil())
307307

308308
ginkgo.By("Waiting for the first ReclaimSpaceJob to be created")
309-
createdJob := f.WaitForReclaimSpaceJobCreation(cronJob.Name, 90*time.Second)
309+
createdJob := f.WaitForReclaimSpaceJobCreation(cronJob.Name, 3*time.Minute)
310310
gomega.Expect(createdJob).NotTo(gomega.BeNil())
311311
gomega.Expect(createdJob.Spec.Target.PersistentVolumeClaim).To(gomega.Equal(pvc.Name))
312312

0 commit comments

Comments
 (0)