Skip to content

Commit

Permalink
Ramp up timeout to wait for PVC expansion
Browse files Browse the repository at this point in the history
TODO: Provide an assertion message that gives us
information about the PVC such as events or conditions.
So that we can know why it has not expanded.
  • Loading branch information
MarcialRosales committed Oct 20, 2021
1 parent 49f10a3 commit 6b1484d
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 @@ -66,7 +66,7 @@ var _ = Describe("Operator", func() {
Expect(rmqClusterClient.Delete(context.TODO(), cluster)).To(Succeed())
})

FIt("works", func() {
It("works", func() {
By("publishing and consuming a message", func() {
response := alivenessTest(hostname, port, username, password)
Expect(response.Status).To(Equal("ok"))
Expand Down Expand Up @@ -347,7 +347,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"]
}, "5m", 10).Should(Equal(newCapacity))
}, "10m", 10).Should(Equal(newCapacity))

// storage capacity reflected in the pod
Eventually(func() int {
Expand Down

0 comments on commit 6b1484d

Please sign in to comment.