summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2013-03-18 10:28:44 -0400
committerGreg Studer <greg@10gen.com>2013-03-18 11:33:33 -0400
commited9d5f067faadc0bcaeed184f47657741b30f59d (patch)
tree358d8bef2e472cd8eda81f1ae4bd6bd8e1d63bad /jstests
parent4873c2bd64b71af9713eb75b222a7e13c6c4e747 (diff)
downloadmongo-ed9d5f067faadc0bcaeed184f47657741b30f59d.tar.gz
Revert "Revert "SERVER-8648 add explicit timeout to checkStatus connection""
also SERVER-8940 buildbot remove2.js flush pool manually before retrying query
Diffstat (limited to 'jstests')
-rw-r--r--jstests/sharding/remove2.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/sharding/remove2.js b/jstests/sharding/remove2.js
index daa5077431c..556f4c9200d 100644
--- a/jstests/sharding/remove2.js
+++ b/jstests/sharding/remove2.js
@@ -61,6 +61,11 @@ addShard = function(st, replTest) {
return x < 2;
} , "no balance happened", 60000 );
+ // NOTE: To avoid getMore problems stranding cursors b/c of our current conn
+ // pool behavior, this needs to be run.
+ // TODO: Remove once conn pooling behavior is better
+ printjson( coll.getMongo().getDB("admin").runCommand({ connPoolSync : true }) );
+
try {
assert.eq( 300, coll.find().itcount() );
} catch (e) {