diff options
author | Eliot Horowitz <eliot@10gen.com> | 2013-01-10 02:29:42 -0500 |
---|---|---|
committer | Dan Pasette <dan@10gen.com> | 2013-01-22 17:37:16 -0500 |
commit | 0bab4de51001b8e60eff262ac5c3e860908f25f0 (patch) | |
tree | 7ebd1cdfc35a475d81069423eea1f71118ff7b1f | |
parent | ea9c49e06abed02cad55d74d1d35ecc82e5d804e (diff) | |
download | mongo-0bab4de51001b8e60eff262ac5c3e860908f25f0.tar.gz |
SERVER-8097: make test more stable
-rw-r--r-- | jstests/sharding/wbl_not_cleared.js | 1 |
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()); |