summaryrefslogtreecommitdiff
path: root/jstests/sharding/splitpick.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/splitpick.js')
-rw-r--r--jstests/sharding/splitpick.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/splitpick.js b/jstests/sharding/splitpick.js
index a9bcd90d355..2b0b1a49e9f 100644
--- a/jstests/sharding/splitpick.js
+++ b/jstests/sharding/splitpick.js
@@ -26,7 +26,7 @@ assert.eq( s.admin.runCommand( { splitvalue : "test.foo" , find : { a : 3 } } ).
s.adminCommand( { split : "test.foo" , find : { a : 99 } } );
assert.eq( s.config.shard.count() , 3 );
-print( s.config.shard.find().toArray().tojson( "\n" ) );
+s.printShards();
assert.eq( s.admin.runCommand( { splitvalue : "test.foo" , find : { a : 50 } } ).middle.a , 10 , "splitvalue 4 " );