diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2016-09-23 14:24:35 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2016-09-23 14:25:42 -0400 |
commit | ee11bcea348635a6ac4ce25b626df08f075101f4 (patch) | |
tree | 31cc8139abbdaa3f5e9f54db175e4d30d84e92bf /jstests/sharding | |
parent | 6a29ec259b45f713b74b1fcd2a033918b0983dbb (diff) | |
download | mongo-ee11bcea348635a6ac4ce25b626df08f075101f4.tar.gz |
SERVER-26290 call disableAutoSplit() in cursor1.js, which handles chunk splitting manually
Diffstat (limited to 'jstests/sharding')
-rw-r--r-- | jstests/sharding/cursor1.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/sharding/cursor1.js b/jstests/sharding/cursor1.js index 064946d91e7..a95648b4918 100644 --- a/jstests/sharding/cursor1.js +++ b/jstests/sharding/cursor1.js @@ -2,7 +2,9 @@ // checks that cursors survive a chunk's move (function() { - var s = new ShardingTest({name: "sharding_cursor1", shards: 2}); + // Turn off auto-splitting, because this test handles chunk splitting manually. + var s = new ShardingTest( + {name: "sharding_cursor1", shards: 2, other: {mongosOptions: {noAutoSplit: ""}}}); s.config.settings.find().forEach(printjson); // create a sharded 'test.foo', for the moment with just one chunk |