summaryrefslogtreecommitdiff
path: root/jstests/sharding/batch_write_command_sharded.js
diff options
context:
space:
mode:
authorDan Pasette <dan@10gen.com>2014-02-02 11:21:12 -0500
committerDan Pasette <dan@mongodb.com>2014-02-05 18:07:02 -0500
commita56fff30fbe28b90ad3526fb285dec078be72979 (patch)
tree44a21b4b876a90ba545b33736dd7a445214305a2 /jstests/sharding/batch_write_command_sharded.js
parentf3d00132e6251b578bbf24a08ce8ed0e6688e3ac (diff)
downloadmongo-a56fff30fbe28b90ad3526fb285dec078be72979.tar.gz
SERVER-12409 db.coll.remove() shell helper requires a query predicate
Diffstat (limited to 'jstests/sharding/batch_write_command_sharded.js')
-rw-r--r--jstests/sharding/batch_write_command_sharded.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/batch_write_command_sharded.js b/jstests/sharding/batch_write_command_sharded.js
index c0d25a88668..b26532a1224 100644
--- a/jstests/sharding/batch_write_command_sharded.js
+++ b/jstests/sharding/batch_write_command_sharded.js
@@ -55,7 +55,7 @@ assert.commandWorked(admin.runCommand({ moveChunk : brokenColl.toString(),
// Rewrite the old chunks back to the config server
-config.chunks.remove();
+config.chunks.remove({});
assert.eq(null, config.getLastError());
for ( var i = 0; i < oldChunks.length; i++ )
config.chunks.insert(oldChunks[i]);
@@ -192,4 +192,4 @@ assert(result.errmsg != null);
jsTest.log("DONE!");
MongoRunner.stopMongos( staleMongos );
-st.stop(); \ No newline at end of file
+st.stop();