diff options
author | Greg Studer <greg@10gen.com> | 2013-08-28 14:45:50 -0400 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2013-08-28 14:45:50 -0400 |
commit | 92a254d7d8e999e6d57360b431892b5c70a6f8c8 (patch) | |
tree | 41efeb79afabf49925a30249ef4943fadaf64d7d /jstests | |
parent | 4a0d9d56bf56715e6488c886226caa258c500e04 (diff) | |
download | mongo-92a254d7d8e999e6d57360b431892b5c70a6f8c8.tar.gz |
SERVER-10638 buildbot fix cleaup_orphaned_cmd_prereload.js, waitfordelete
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/sharding/cleanup_orphaned_cmd_prereload.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/sharding/cleanup_orphaned_cmd_prereload.js b/jstests/sharding/cleanup_orphaned_cmd_prereload.js index 5b34748f7d5..bbb99194341 100644 --- a/jstests/sharding/cleanup_orphaned_cmd_prereload.js +++ b/jstests/sharding/cleanup_orphaned_cmd_prereload.js @@ -45,7 +45,10 @@ assert( !st.shard1.getDB( "admin" ) jsTest.log( "Moving some chunks back to shard0 after empty..." ); -assert( admin.runCommand({ moveChunk : coll + "", find : { _id : -1 }, to : shards[1]._id }).ok ); +assert(admin.runCommand({moveChunk : coll + "", + find : { _id : -1 }, + to : shards[1]._id, + _waitForDelete : true }).ok); var metadata = st.shard0.getDB( "admin" ) .runCommand({ getShardVersion : coll + "", fullMetadata : true }).metadata; |