summaryrefslogtreecommitdiff
path: root/jstests/sharding/sharding_rs2.js
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2016-02-19 16:01:55 -0500
committerRandolph Tan <randolph@10gen.com>2016-02-22 17:01:56 -0500
commitf8dda5860d94b91e236dc30d9e2622168dc4591d (patch)
treee8dda09fa8b4c9e97f047e965a2c6b4aef0bfb55 /jstests/sharding/sharding_rs2.js
parentd8ee6353312a5639ae56454be62066d602eff818 (diff)
downloadmongo-f8dda5860d94b91e236dc30d9e2622168dc4591d.tar.gz
SERVER-22765 Remove unnecessary logging in sharding tests when running on continuous stepdown suite
Diffstat (limited to 'jstests/sharding/sharding_rs2.js')
-rw-r--r--jstests/sharding/sharding_rs2.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/sharding_rs2.js b/jstests/sharding/sharding_rs2.js
index b60910d3fb9..d872c72e9e4 100644
--- a/jstests/sharding/sharding_rs2.js
+++ b/jstests/sharding/sharding_rs2.js
@@ -137,7 +137,7 @@ s.stopBalancer();
assert.eq(100, t.count(), "C2");
assert.commandWorked(s.s0.adminCommand({ split: "test.foo", middle: { x: 50 } }));
-db.printShardingStatus();
+s.printShardingStatus();
var other = s.config.shards.findOne({ _id: { $ne: serverName } });
assert.commandWorked(s.getDB('admin').runCommand({ moveChunk: "test.foo",
@@ -175,7 +175,7 @@ assert.lte(before.query + 10, after.query, "D3");
m = new Mongo(s.s.name);
m.forceWriteMode("commands");
-db.printShardingStatus();
+s.printShardingStatus();
ts = m.getDB("test").foo;