Skip to content

Commit 47848ad

Browse files
committed
pvc output
1 parent c49bd5c commit 47848ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/resilience_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ func TestResiliencePVC(t *testing.T) {
116116
// Delete one pod after the other
117117
pvcs, err := kubecli.CoreV1().PersistentVolumeClaims(ns).List(metav1.ListOptions{})
118118
if err != nil {
119-
t.Fatalf("Could not find any pods in the %s, namespace: %v\n", ns, err)
119+
t.Fatalf("Could not find any persisted volume claims in the %s, namespace: %v\n", ns, err)
120120
}
121121
fmt.Fprintf(os.Stderr,
122122
"There are %d peristent volume claims in the %s namespace\n", len(pvcs.Items), ns)
123123
for _, pvc := range pvcs.Items {
124124
if pvc.GetName() == "arangodb-operator-test" { continue }
125125
fmt.Fprintf(os.Stderr,
126-
"Deleting pod %s in the %s namespace\n", pvc.GetName(), ns)
126+
"Deleting persistent volume claim %s in the %s namespace\n", pvc.GetName(), ns)
127127
kubecli.CoreV1().PersistentVolumeClaims(ns).Delete(pvc.GetName(),&metav1.DeleteOptions{})
128128
time.Sleep(30 * time.Second) // wait for problem to arise
129129
// Wait for cluster to be completely ready

0 commit comments

Comments
 (0)