summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jstests/sharding/top_chunk_autosplit.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/sharding/top_chunk_autosplit.js b/jstests/sharding/top_chunk_autosplit.js
index 1b296738f78..6e465ce7bf5 100644
--- a/jstests/sharding/top_chunk_autosplit.js
+++ b/jstests/sharding/top_chunk_autosplit.js
@@ -16,6 +16,7 @@ st.startBalancer();
var configDB = st.s.getDB('config');
var topChunkBefore = configDB.chunks.find({}).sort({ min: -1 }).next();
+// This bulk insert should only trigger a single chunk move.
var largeStr = new Array(1024).join('x');
var bulk = testDB.user.initializeUnorderedBulkOp();
for (var x = 100; x < 1000; x++) {