summaryrefslogtreecommitdiff
path: root/jstests/sharding/wbl_not_cleared.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/wbl_not_cleared.js')
-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());