diff options
author | jannaerin <golden.janna@gmail.com> | 2018-02-07 17:38:49 -0500 |
---|---|---|
committer | jannaerin <golden.janna@gmail.com> | 2018-03-27 17:28:32 -0400 |
commit | a13de396ad866e677cb6e9598852b1f84e6b8346 (patch) | |
tree | 1dcd3a6bcbcd847d721df0293b468823089cf019 /jstests/sharding/migrateBig_balancer.js | |
parent | fb35ca2b60583936e7c20dd5c47ee34d62b8c5d2 (diff) | |
download | mongo-a13de396ad866e677cb6e9598852b1f84e6b8346.tar.gz |
SERVER-33444 Fix tests that fail when shard servers started as replica sets
Diffstat (limited to 'jstests/sharding/migrateBig_balancer.js')
-rw-r--r-- | jstests/sharding/migrateBig_balancer.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/sharding/migrateBig_balancer.js b/jstests/sharding/migrateBig_balancer.js index 990b76019c0..2d28244cba7 100644 --- a/jstests/sharding/migrateBig_balancer.js +++ b/jstests/sharding/migrateBig_balancer.js @@ -7,14 +7,13 @@ (function() { "use strict"; - // TODO: SERVER-33444 remove shardAsReplicaSet: false + // TODO: SERVER-33830 remove shardAsReplicaSet: false var st = new ShardingTest({ name: 'migrateBig_balancer', shards: 2, other: {enableBalancer: true, shardAsReplicaSet: false} }); var mongos = st.s; - var admin = mongos.getDB("admin"); var db = mongos.getDB("test"); var coll = db.getCollection("stuff"); @@ -37,8 +36,8 @@ for (var i = 0; i < 40; i++) { bulk.insert({data: dataObj}); } - assert.writeOK(bulk.execute()); + assert.writeOK(bulk.execute()); assert.eq(40, coll.count(), "prep1"); assert.commandWorked(admin.runCommand({shardcollection: "" + coll, key: {_id: 1}})); |