0
0
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:
Kristina 2010-12-27 22:55:23 -05:00
parent c9dbb72e93
commit 96eb960e28

View File

@ -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");