diff options
Diffstat (limited to 'jstests/sharding/shard_kill_and_pooling.js')
-rw-r--r-- | jstests/sharding/shard_kill_and_pooling.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/jstests/sharding/shard_kill_and_pooling.js b/jstests/sharding/shard_kill_and_pooling.js index 9bd68c740fb..843d48209a1 100644 --- a/jstests/sharding/shard_kill_and_pooling.js +++ b/jstests/sharding/shard_kill_and_pooling.js @@ -29,10 +29,9 @@ if ( is32Bits && _isWindows() ) { else { // Non-Win32 platform - - coll.insert({ hello : "world" }) - assert.eq( null, coll.getDB().getLastError() ); - + + assert.writeOK(coll.insert({ hello: "world" })); + jsTest.log("Creating new connections..."); // Create a bunch of connections to the primary node through mongos. |