From 9b857b902882ab7577ae2af79933a0ed082d109e Mon Sep 17 00:00:00 2001 From: Marcial Rosales Date: Thu, 21 Oct 2021 11:10:21 +0200 Subject: [PATCH] Unfocus volume expansion test --- system_tests/system_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system_tests/system_test.go b/system_tests/system_test.go index 0c93c706c..6deee08d2 100644 --- a/system_tests/system_test.go +++ b/system_tests/system_test.go @@ -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()) @@ -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))