From ed9d5f067faadc0bcaeed184f47657741b30f59d Mon Sep 17 00:00:00 2001 From: Greg Studer Date: Mon, 18 Mar 2013 10:28:44 -0400 Subject: Revert "Revert "SERVER-8648 add explicit timeout to checkStatus connection"" also SERVER-8940 buildbot remove2.js flush pool manually before retrying query --- jstests/sharding/remove2.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'jstests') 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) { -- cgit v1.2.1