mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
make test wait for replication
This commit is contained in:
parent
c9dbb72e93
commit
96eb960e28
@ -53,7 +53,7 @@ wait(function() {
|
||||
});
|
||||
|
||||
master.foo.insert({x:1});
|
||||
rs.awaitReplication();
|
||||
master.runCommand({getlasterror:1, w:3, wtimeout:60000});
|
||||
|
||||
|
||||
print("try some legal and illegal reads");
|
||||
|
Loading…
Reference in New Issue
Block a user