diff options
Diffstat (limited to 'jstests/replsets/replsetprio1.js')
-rw-r--r-- | jstests/replsets/replsetprio1.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/replsetprio1.js b/jstests/replsets/replsetprio1.js index c6c8b1f93da..a68bba37028 100644 --- a/jstests/replsets/replsetprio1.js +++ b/jstests/replsets/replsetprio1.js @@ -27,11 +27,11 @@ // do some writes on 1 var master = replTest.getPrimary(); for (var i = 0; i < 1000; i++) { - assert.writeOK(master.getDB("foo").bar.insert({i: i}, { writeConcern: { w: 'majority' } })); + assert.writeOK(master.getDB("foo").bar.insert({i: i}, {writeConcern: {w: 'majority'}})); } for (i = 0; i < 1000; i++) { - assert.writeOK(master.getDB("bar").baz.insert({i: i}, { writeConcern: { w: 'majority' } })); + assert.writeOK(master.getDB("bar").baz.insert({i: i}, {writeConcern: {w: 'majority'}})); } // bring 2 back up, 2 should wait until caught up and then become master |