summaryrefslogtreecommitdiff
path: root/jstests/core/batch_write_command_wc.js
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@gmail.com>2014-02-04 07:44:16 -0500
committerScott Hernandez <scotthernandez@gmail.com>2014-02-04 15:16:54 -0500
commitedfce78fcb8ab6abfe5224bd5678b8c11b5978d2 (patch)
tree148884c8ee10201e4ce8dcf3b4feceb6283a6e30 /jstests/core/batch_write_command_wc.js
parent71219e3fa67520e1e0c93cbcdeaee2354d81cd9e (diff)
downloadmongo-edfce78fcb8ab6abfe5224bd5678b8c11b5978d2.tar.gz
rename bulk api stuff to bulk (not batch)
Diffstat (limited to 'jstests/core/batch_write_command_wc.js')
-rw-r--r--jstests/core/batch_write_command_wc.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/jstests/core/batch_write_command_wc.js b/jstests/core/batch_write_command_wc.js
new file mode 100644
index 00000000000..0a5bf120fa0
--- /dev/null
+++ b/jstests/core/batch_write_command_wc.js
@@ -0,0 +1,18 @@
+//
+// Ensures that the server respects the batch write command WriteConcern, and behaves correctly
+//
+
+
+
+var coll = db.getCollection( "batch_write_wc" );
+coll.drop();
+
+jsTest.log("Starting Tests");
+
+// Basic validation of WriteConcern
+// -- {}, versus {w:0}/{w:1} +opt wTimeout
+// -- j:1, fsync:1,
+// -- replication: w:N (>1), w:String, wTimeout
+// -- randomField:true, etc
+
+