Skip to content

Commit

Permalink
Unfocus volume expansion test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcialRosales committed Oct 21, 2021
1 parent 6b1484d commit 9b857b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion system_tests/system_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ CONSOLE_LOG=new`
waitForRabbitmqRunning(cluster)
})

FIt("allows volume expansion", func() {
It("allows volume expansion", func() {
podUID := pod(ctx, clientSet, cluster, 0).UID
output, err := kubectlExec(namespace, statefulSetPodName(cluster, 0), "rabbitmq", "df", "/var/lib/rabbitmq/mnesia")
Expect(err).ToNot(HaveOccurred())
Expand All @@ -346,6 +346,8 @@ CONSOLE_LOG=new`
pvcName := cluster.PVCName(0)
pvc, err := clientSet.CoreV1().PersistentVolumeClaims(namespace).Get(ctx, pvcName, metav1.GetOptions{})
Expect(err).ToNot(HaveOccurred())
fmt.Printf("Retrieved PVC %s with conditions %+v\n", pvcName, pvc.Status.Conditions)

return pvc.Spec.Resources.Requests["storage"]
}, "10m", 10).Should(Equal(newCapacity))

Expand Down

0 comments on commit 9b857b9

Please sign in to comment.