diff options
author | Mike Grundy <michael.grundy@10gen.com> | 2016-03-17 14:41:31 -0400 |
---|---|---|
committer | Mike Grundy <michael.grundy@10gen.com> | 2016-03-18 17:10:31 -0400 |
commit | 1be713cebbb9411d2977ec9996931a4508252af0 (patch) | |
tree | a199db2a273ebb5ca4289158ee5f63066cb3926a /jstests/replsets/replsetprio1.js | |
parent | d82956a6fe2e7d5dd6216e66e95900d73dbf2e0c (diff) | |
download | mongo-1be713cebbb9411d2977ec9996931a4508252af0.tar.gz |
SERVER-23067 Final round of JS linting and formatting
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 |