summaryrefslogtreecommitdiff
path: root/jstests/replsets/server_status_metrics.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/server_status_metrics.js')
-rw-r--r--jstests/replsets/server_status_metrics.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/jstests/replsets/server_status_metrics.js b/jstests/replsets/server_status_metrics.js
index fb7f92fe55f..05a3b4bccc0 100644
--- a/jstests/replsets/server_status_metrics.js
+++ b/jstests/replsets/server_status_metrics.js
@@ -56,11 +56,7 @@ assert.writeOK(bulk.execute({w: 2}));
testSecondaryMetrics(secondary, 1000, secondaryBaseOplogInserts);
-var options = {
- writeConcern: {w: 2},
- multi: true,
- upsert: true
-};
+var options = {writeConcern: {w: 2}, multi: true, upsert: true};
assert.writeOK(testDB.a.update({}, {$set: {d: new Date()}}, options));
testSecondaryMetrics(secondary, 2000, secondaryBaseOplogInserts);