summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2013-08-13 15:17:20 -0400
committerGreg Studer <greg@10gen.com>2013-08-13 15:20:15 -0400
commit6a896217f91e45866e211e13ec7903def95cd704 (patch)
tree6def9372e6660f57c61991be555d54d456ec49d1
parenta7278ae099789f2a99a240bd02fc0d7519175916 (diff)
downloadmongo-6a896217f91e45866e211e13ec7903def95cd704.tar.gz
SERVER-10498 print conn pool stats and ensure migration succeeds before testing error
-rw-r--r--jstests/sharding/gle_error_message.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/jstests/sharding/gle_error_message.js b/jstests/sharding/gle_error_message.js
index 729f9f9e0b6..757901b0114 100644
--- a/jstests/sharding/gle_error_message.js
+++ b/jstests/sharding/gle_error_message.js
@@ -111,7 +111,9 @@ jsTest.log( "Testing stale version GLE when host goes down..." )
var staleColl = st.s1.getCollection( coll + "" )
staleColl.findOne()
-printjson( admin.runCommand({ moveChunk : "" + coll, find : { _id : 0 }, to : shards[2]._id }) )
+printjson( admin.runCommand({ connPoolStats : true }) );
+//printjson( admin.runCommand({ connPoolSync : true }) );
+assert( admin.runCommand({ moveChunk : "" + coll, find : { _id : 0 }, to : shards[2]._id }).ok );
MongoRunner.stopMongod( st.shard2 )
@@ -124,4 +126,4 @@ assert.neq( null, staleColl.getDB().getLastError() )
jsTest.log( "Done!" )
-st.stop() \ No newline at end of file
+st.stop()