Skip to content

Commit fbc74b9

Browse files
committed
e2e: fix sharded-backup-ddp
1 parent 2ddcdd4 commit fbc74b9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stackgres-k8s/e2e/spec/sharded-backup-ddp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ e2e_test_install() {
1515
create_or_replace_sharded_cluster "$CLUSTER_NAME" "$CLUSTER_NAMESPACE" "3" "2"
1616

1717
wait_pods_running "$CLUSTER_NAMESPACE" 7
18-
wait_sharded_cluster "$CLUSTER_NAME" "$CLUSTER_NAMESPACE"
18+
SWITCHOVER_TO_FIRST=true wait_sharded_cluster "$CLUSTER_NAME" "$CLUSTER_NAMESPACE"
1919

2020
create_mock_data
2121

@@ -213,7 +213,7 @@ check_restore_sharded_backup_is_working() {
213213
try_function wait_pods_running "$CLUSTER_NAMESPACE" 7
214214
if "$RESULT"
215215
then
216-
try_function wait_sharded_cluster "$CLUSTER_NAME" "$CLUSTER_NAMESPACE"
216+
SWITCHOVER_TO_FIRST=true try_function wait_sharded_cluster "$CLUSTER_NAME" "$CLUSTER_NAMESPACE"
217217
fi
218218

219219
if "$RESULT"

0 commit comments

Comments
 (0)