diff options
author | clang-format-7.0.1 <adam.martin@10gen.com> | 2019-07-26 18:20:35 -0400 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-07-27 11:02:23 -0400 |
commit | 134a4083953270e8a11430395357fb70a29047ad (patch) | |
tree | dd428e1230e31d92b20b393dfdc17ffe7fa79cb6 /jstests/concurrency/fsm_workloads/multi_statement_transaction_atomicity_isolation.js | |
parent | 1e46b5049003f427047e723ea5fab15b5a9253ca (diff) | |
download | mongo-134a4083953270e8a11430395357fb70a29047ad.tar.gz |
SERVER-41772 Apply clang-format 7.0.1 to the codebase
Diffstat (limited to 'jstests/concurrency/fsm_workloads/multi_statement_transaction_atomicity_isolation.js')
-rw-r--r-- | jstests/concurrency/fsm_workloads/multi_statement_transaction_atomicity_isolation.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/jstests/concurrency/fsm_workloads/multi_statement_transaction_atomicity_isolation.js b/jstests/concurrency/fsm_workloads/multi_statement_transaction_atomicity_isolation.js index 56a8b5d3a13..79e9f3efd11 100644 --- a/jstests/concurrency/fsm_workloads/multi_statement_transaction_atomicity_isolation.js +++ b/jstests/concurrency/fsm_workloads/multi_statement_transaction_atomicity_isolation.js @@ -53,7 +53,6 @@ load('jstests/concurrency/fsm_workload_helpers/auto_retry_transaction.js'); load("jstests/aggregation/extras/utils.js"); var $config = (function() { - function checkTransactionCommitOrder(documents) { const graph = new Graph(); @@ -95,9 +94,7 @@ var $config = (function() { } } - for (let { - op, actual - } of updateCounts.values()) { + for (let {op, actual} of updateCounts.values()) { assert.eq(op.numUpdated, actual, () => { return 'transaction ' + tojson(op) + ' should have updated ' + op.numUpdated + ' documents, but ' + actual + ' were updated: ' + tojson(updateCounts.values()); @@ -174,8 +171,8 @@ var $config = (function() { assertWhenOwnColl.eq(allDocuments.length, numDocs * this.collections.length, () => { if (this.session) { return "txnNumber: " + tojson(this.session.getTxnNumber_forTesting()) + - ", session id: " + tojson(this.session.getSessionId()) + ", all documents: " + - tojson(allDocuments); + ", session id: " + tojson(this.session.getSessionId()) + + ", all documents: " + tojson(allDocuments); } return "all documents: " + tojson(allDocuments); }); @@ -192,7 +189,6 @@ var $config = (function() { } const states = (function() { - return { init: function init(db, collName) { this.iteration = 0; @@ -367,5 +363,4 @@ var $config = (function() { setup: setup, teardown: teardown, }; - })(); |