Skip to content

Commit 82cfd8b

Browse files
committed
Bump timeouts
because disk expansion can take a long time.
1 parent 3c570fa commit 82cfd8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system_tests/system_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ CONSOLE_LOG=new`
346346
pvc, err := clientSet.CoreV1().PersistentVolumeClaims(namespace).Get(ctx, pvcName, metav1.GetOptions{})
347347
Expect(err).ToNot(HaveOccurred())
348348
return pvc.Spec.Resources.Requests["storage"]
349-
}, 180, 5).Should(Equal(newCapacity))
349+
}, "5m", 10).Should(Equal(newCapacity))
350350

351351
// storage capacity reflected in the pod
352352
Eventually(func() int {
@@ -355,7 +355,7 @@ CONSOLE_LOG=new`
355355
updatedDiskSize, err := strconv.Atoi(strings.Fields(strings.Split(string(output), "\n")[1])[1])
356356
Expect(err).ToNot(HaveOccurred())
357357
return updatedDiskSize
358-
}, 180, 5).Should(BeNumerically(">", previousDiskSize))
358+
}, "10m", 10).Should(BeNumerically(">", previousDiskSize))
359359

360360
// pod was not recreated
361361
Expect(pod(ctx, clientSet, cluster, 0).UID).To(Equal(podUID))

0 commit comments

Comments
 (0)