summaryrefslogtreecommitdiff
path: root/jstests/sharding/movechunk_with_noMoveParanoia.js
diff options
context:
space:
mode:
authorMatthew Saltz <matthew.saltz@mongodb.com>2018-08-01 14:47:27 -0400
committerMatthew Saltz <matthew.saltz@mongodb.com>2018-08-09 14:04:28 -0400
commit25de1e85f2369d00391979f6efc5827d5e574e6f (patch)
tree868c49d8175b8abaec92875e682b0fbf8fb5aaa7 /jstests/sharding/movechunk_with_noMoveParanoia.js
parent16f62b01bf8098d761044ff71318d166e9a82dee (diff)
downloadmongo-25de1e85f2369d00391979f6efc5827d5e574e6f.tar.gz
SERVER-36392 Make tests that rely on the autosplitter unintentially not require the autosplitter
Diffstat (limited to 'jstests/sharding/movechunk_with_noMoveParanoia.js')
-rw-r--r--jstests/sharding/movechunk_with_noMoveParanoia.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/jstests/sharding/movechunk_with_noMoveParanoia.js b/jstests/sharding/movechunk_with_noMoveParanoia.js
index 2ca6ef96f16..49df2f89614 100644
--- a/jstests/sharding/movechunk_with_noMoveParanoia.js
+++ b/jstests/sharding/movechunk_with_noMoveParanoia.js
@@ -1,14 +1,10 @@
/**
* This test sets moveParanoia flag and then check that the directory is created with the moved data
*/
-var st = new ShardingTest({
- shards: 2,
- mongos: 1,
- other: {chunkSize: 1, enableAutoSplit: true, shardOptions: {noMoveParanoia: ""}}
-});
load("jstests/sharding/movechunk_include.js");
-setupMoveChunkTest(st);
+
+var st = setupMoveChunkTest({noMoveParanoia: ""});
var shards = [st.shard0, st.shard1];
for (i in shards) {