Skip to content

Commit

Permalink
Bump timeouts
Browse files Browse the repository at this point in the history
because disk expansion can take a long time.
  • Loading branch information
ansd committed Sep 28, 2021
1 parent 3c570fa commit 82cfd8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system_tests/system_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ CONSOLE_LOG=new`
pvc, err := clientSet.CoreV1().PersistentVolumeClaims(namespace).Get(ctx, pvcName, metav1.GetOptions{})
Expect(err).ToNot(HaveOccurred())
return pvc.Spec.Resources.Requests["storage"]
}, 180, 5).Should(Equal(newCapacity))
}, "5m", 10).Should(Equal(newCapacity))

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

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

0 comments on commit 82cfd8b

Please sign in to comment.