File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ main() {
36
36
37
37
cluster=' one-pod-rs0'
38
38
spinup_psmdb " $cluster " " $test_dir /conf/$cluster .yml" " 1"
39
+ wait_cluster_consistency " ${cluster/ -rs0/ } "
39
40
40
41
desc ' check if service and pvc created with expected config'
41
42
compare_kubectl service/$cluster
@@ -53,7 +54,7 @@ main() {
53
54
54
55
desc ' create secret and check custom config'
55
56
kubectl_bin apply -f " $test_dir /conf/mongod-secret.yml"
56
- sleep 50
57
+ wait_cluster_consistency " ${cluster / -rs0 / } "
57
58
58
59
desc ' check if statefulset created with expected config'
59
60
compare_kubectl " statefulset/$cluster " " -secret"
@@ -69,7 +70,7 @@ main() {
69
70
70
71
desc ' create secret and check custom config'
71
72
kubectl_bin apply -f " $test_dir /conf/mongod-secret-2.yml"
72
- sleep 50
73
+ wait_cluster_consistency " ${cluster / -rs0 / } "
73
74
74
75
run_mongo \
75
76
' db.serverCmdLineOpts()' \
You can’t perform that action at this time.
0 commit comments