summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2016-03-11 10:29:02 -0500
committerJudah Schvimer <judah@mongodb.com>2016-03-11 10:29:02 -0500
commit77fb3dd6e3a640e559bf44a67bf3e694884cf279 (patch)
tree057484bea4a2e01228c7ae0e0e6d67e4cfbedb52
parent73409b9364b8d83442a23a57ad910fc0438511ec (diff)
downloadmongo-77fb3dd6e3a640e559bf44a67bf3e694884cf279.tar.gz
SERVER-23037 added _waitFoDelete: true to move_stale_mongos.js
-rw-r--r--jstests/sharding/move_stale_mongos.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/move_stale_mongos.js b/jstests/sharding/move_stale_mongos.js
index a7d1f647f61..b38eb230870 100644
--- a/jstests/sharding/move_stale_mongos.js
+++ b/jstests/sharding/move_stale_mongos.js
@@ -17,7 +17,7 @@ for (var i = 0; i < 100; i += 10) {
assert.commandWorked(st.s0.getDB('admin').runCommand({split: testNs, middle: {_id: i}}));
var nextShardIndex = (curShardIndex + 1) % shards.length;
assert.commandWorked(st.s1.getDB('admin').runCommand(
- {moveChunk: testNs, find: {_id: i + 5}, to: shards[nextShardIndex]}));
+ {moveChunk: testNs, find: {_id: i + 5}, to: shards[nextShardIndex], _waitForDelete: true}));
curShardIndex = nextShardIndex;
}