Files
mongo/jstests/core/batch_write_command_wc.js
2014-02-04 15:16:54 -05:00

19 lines
377 B
JavaScript

//
// 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