diff options
author | Matthew Saltz <matthew.saltz@mongodb.com> | 2019-05-28 14:07:28 -0400 |
---|---|---|
committer | Matthew Saltz <matthew.saltz@mongodb.com> | 2019-05-28 14:07:28 -0400 |
commit | be431419dbc96abbfb08acc0578a040aba16eba1 (patch) | |
tree | 56460e35524a592c768bf965e14ff181ce7bdcad /jstests | |
parent | c926e1a80996bb41997e2ec28b117cc3a1c25e7d (diff) | |
download | mongo-be431419dbc96abbfb08acc0578a040aba16eba1.tar.gz |
Revert "SERVER-37674 Increase logging verbosity for sharding_balance4.js"
This reverts commit 5b2179fb8f852c956d85a10d01dcae5c4ae4b0c2.
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/sharding/sharding_balance4.js | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/jstests/sharding/sharding_balance4.js b/jstests/sharding/sharding_balance4.js index 5a99ddb8d34..75a30b62b9a 100644 --- a/jstests/sharding/sharding_balance4.js +++ b/jstests/sharding/sharding_balance4.js @@ -7,12 +7,7 @@ */ (function() { - // TODO (SERVER-37698): Lower logging level. - var s = new ShardingTest({ - shards: [{verbose: 3}, {verbose: 3}], - mongos: 1, - other: {chunkSize: 1, enableAutoSplit: true, mongosOptions: {verbose: 3}} - }); + var s = new ShardingTest({shards: 2, mongos: 1, other: {chunkSize: 1, enableAutoSplit: true}}); assert.commandWorked(s.s0.adminCommand({enablesharding: "test"})); s.ensurePrimaryShard('test', s.shard1.shardName); @@ -94,6 +89,8 @@ return false; } + s.s.getDB("admin").runCommand({setParameter: 1, logLevel: 2}); + printjson(db.foo.findOne({_id: parseInt(x)})); var y = db.foo.findOne({_id: parseInt(x)}); |