1
0
Fork 0

Add more stability to moving-shards-cluster.js

This commit is contained in:
KVS85 2019-09-12 18:31:11 +02:00
parent c9de78c7c5
commit 6bd1879473
1 changed files with 2 additions and 0 deletions

View File

@ -611,6 +611,8 @@ function MovingShardsSuite ({useData}) {
if (dbservers.length === 5) {
assertTrue(waitForSynchronousReplication("_system"));
checkCollectionContents();
servers = dbservers;
return;
}
console.log("Waiting for 5 dbservers to be present:", JSON.stringify(dbservers));