File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1177,6 +1177,7 @@ def test_rolling_update_flag(self):
1177
1177
1178
1178
# operator should now recreate the master pod and do a switchover before
1179
1179
k8s .wait_for_pod_failover (replica_nodes , 'spilo-role=master,' + cluster_label )
1180
+ k8s .wait_for_pod_start ('spilo-role=replica,' + cluster_label )
1180
1181
1181
1182
# check if the former replica is now the new master
1182
1183
leader = k8s .get_cluster_leader_pod ()
@@ -1246,6 +1247,7 @@ def test_rolling_update_label_timeout(self):
1246
1247
1247
1248
# wait for next sync, replica should be running normally by now and be ready for switchover
1248
1249
k8s .wait_for_pod_failover (replica_nodes , 'spilo-role=master,' + cluster_label )
1250
+ k8s .wait_for_pod_start ('spilo-role=replica,' + cluster_label )
1249
1251
1250
1252
# check if the former replica is now the new master
1251
1253
leader = k8s .get_cluster_leader_pod ()
You can’t perform that action at this time.
0 commit comments