Skip to content

Commit 2ddcdd4

Browse files
committed
e2e: fix sharded-backup-citus
1 parent 3ca5f27 commit 2ddcdd4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 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

@@ -219,7 +219,7 @@ check_restore_sharded_backup_is_working() {
219219
try_function wait_pods_running "$CLUSTER_NAMESPACE" 7
220220
if "$RESULT"
221221
then
222-
try_function wait_sharded_cluster "$CLUSTER_NAME" "$CLUSTER_NAMESPACE"
222+
SWITCHOVER_TO_FIRST=true try_function wait_sharded_cluster "$CLUSTER_NAME" "$CLUSTER_NAMESPACE"
223223
fi
224224

225225
if "$RESULT"
@@ -251,7 +251,7 @@ check_restore_sharded_backup_with_pitr_is_working() {
251251
try_function wait_pods_running "$CLUSTER_NAMESPACE" 7
252252
if "$RESULT"
253253
then
254-
try_function wait_sharded_cluster "$CLUSTER_NAME" "$CLUSTER_NAMESPACE"
254+
SWITCHOVER_TO_FIRST=true try_function wait_sharded_cluster "$CLUSTER_NAME" "$CLUSTER_NAMESPACE"
255255
fi
256256

257257
if "$RESULT"

0 commit comments

Comments
 (0)