diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2016-02-26 10:26:54 -0500 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2016-02-26 17:10:54 -0500 |
commit | 66746f4654189fa633066f2a353c66279d3cadab (patch) | |
tree | 3e48a760d220b46d6c40d143f85c920feeb630c6 /jstests/sharding/delete_during_migrate.js | |
parent | 7f7a64a1d6ef791d3b111245301d73902e9e4875 (diff) | |
download | mongo-66746f4654189fa633066f2a353c66279d3cadab.tar.gz |
SERVER-22870 rename getServerName and getServer
Diffstat (limited to 'jstests/sharding/delete_during_migrate.js')
-rw-r--r-- | jstests/sharding/delete_during_migrate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/delete_during_migrate.js b/jstests/sharding/delete_during_migrate.js index cabed50b960..e44b4cd4078 100644 --- a/jstests/sharding/delete_during_migrate.js +++ b/jstests/sharding/delete_during_migrate.js @@ -37,7 +37,7 @@ startMongoProgramNoConnect( "mongo" , // migrate while deletions are happening var moveResult = s.adminCommand( { moveChunk : ns , find : { a : 1 } , - to : st.getOther( st.getServer( dbname ) ).name } ); + to : st.getOther( st.getPrimaryShard( dbname ) ).name } ); // check if migration worked assert( moveResult.ok , "migration didn't work while doing deletes" ); |