summaryrefslogtreecommitdiff
path: root/jstests/sharding/limit_push.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2014-10-11 00:20:10 -0400
committerEliot Horowitz <eliot@10gen.com>2014-10-11 00:20:10 -0400
commit8aad8474a447b4447d08dc4587c5422c74f94695 (patch)
tree8f8344341b1b86c008297eb189fa5762bde14c3a /jstests/sharding/limit_push.js
parent8a25ec1eafc85c680c87b3b68262482beafbb57a (diff)
downloadmongo-8aad8474a447b4447d08dc4587c5422c74f94695.tar.gz
SERVER-13635: update many sharding tests to work with other storage engines
Diffstat (limited to 'jstests/sharding/limit_push.js')
-rw-r--r--jstests/sharding/limit_push.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/limit_push.js b/jstests/sharding/limit_push.js
index 91754ee9682..d0bd259780b 100644
--- a/jstests/sharding/limit_push.js
+++ b/jstests/sharding/limit_push.js
@@ -19,7 +19,7 @@ s.adminCommand( { shardcollection : "test.limit_push" , key : { x : 1 } } );
// Now split the and move the data between the shards
s.adminCommand( { split : "test.limit_push", middle : { x : 50 }} );
-s.adminCommand( { moveChunk: "test.limit_push", find : { x : 51}, to : "shard0000", _waitForDelete : true })
+s.adminCommand( { moveChunk: "test.limit_push", find : { x : 51}, to : s.getOther( s.getServer( "test" ) ).name, _waitForDelete : true })
// Check that the chunck have split correctly
assert.eq( 2 , s.config.chunks.count() , "wrong number of chunks");