Skip to content

Commit 69d3af7

Browse files
committed
Fixed PVC test
1 parent fba9d33 commit 69d3af7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/resilience_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ func TestResiliencePVC(t *testing.T) {
140140

141141
// Delete one pvc after the other
142142
apiObject.ForeachServerGroup(func(group api.ServerGroup, spec api.ServerGroupSpec, status *api.MemberStatusList) error {
143+
if group == api.ServerGroupCoordinators {
144+
// Coordinators have no PVC
145+
return nil
146+
}
143147
for _, m := range *status {
144148
// Get current pvc so we can compare UID later
145149
originalPVC, err := kubecli.CoreV1().PersistentVolumeClaims(ns).Get(m.PersistentVolumeClaimName, metav1.GetOptions{})

0 commit comments

Comments
 (0)