summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2013-01-10 02:29:42 -0500
committerDan Pasette <dan@10gen.com>2013-01-22 17:37:16 -0500
commit0bab4de51001b8e60eff262ac5c3e860908f25f0 (patch)
tree7ebd1cdfc35a475d81069423eea1f71118ff7b1f
parentea9c49e06abed02cad55d74d1d35ecc82e5d804e (diff)
downloadmongo-0bab4de51001b8e60eff262ac5c3e860908f25f0.tar.gz
SERVER-8097: make test more stable
-rw-r--r--jstests/sharding/wbl_not_cleared.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/sharding/wbl_not_cleared.js b/jstests/sharding/wbl_not_cleared.js
index ff2ebf61898..a3b353225ca 100644
--- a/jstests/sharding/wbl_not_cleared.js
+++ b/jstests/sharding/wbl_not_cleared.js
@@ -27,6 +27,7 @@ st.printShardingStatus();
jsTest.log("Making mongos stale...");
coll.insert({ _id : 0 });
+coll.getDB().getLastErrorObj();
// Make sure the stale mongos knows about the collection at the original version
assert.neq(null, staleMongos.getCollection(coll + "").findOne());