22
22
adminDB.runCommand({split: "test.foo", middle: {x:50}});
23
23
var curShard = st.getShard("test.foo", {x:75});
24
24
var otherShard = st.getOther(curShard).name;
25
adminDB.runCommand({moveChunk: "test.foo", find: {x:25}, to: otherShard, _waitForDelete:true});
28
27
st.printShardingStatus();
30
29
MongoRunner.stopMongod(st.shard0);
33
32
// May fail the first couple times due to socket exceptions
34
33
assert.soon( function() {