mirror of https://gitee.com/bigwinds/arangodb
try to fix non-deterministic test (#3514)
This commit is contained in:
parent
9eb5e1545f
commit
b1584cc7ba
|
@ -899,6 +899,8 @@ function ReplicationOtherDBSuite() {
|
||||||
|
|
||||||
// Now test if the Slave did replicate the new database...
|
// Now test if the Slave did replicate the new database...
|
||||||
db._useDatabase(dbName);
|
db._useDatabase(dbName);
|
||||||
|
// wait for collection to appear
|
||||||
|
waitUntil(function() { return (db._collection(cn) !== null); });
|
||||||
assertEqual(50, collectionCount(cn), "The slave inserted the new collection data into the old one, it skipped the drop.");
|
assertEqual(50, collectionCount(cn), "The slave inserted the new collection data into the old one, it skipped the drop.");
|
||||||
|
|
||||||
assertTrue(replication.globalApplier.state().state.running);
|
assertTrue(replication.globalApplier.state().state.running);
|
||||||
|
|
Loading…
Reference in New Issue