summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Mir <ali.mir@mongodb.com>2021-04-02 16:06:22 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-26 19:04:08 +0000
commit042726547a442fc5be143d2003374fae904ee389 (patch)
tree1f7acd10e405647483f85404655231e2af809c58
parent7f7a299321f22c0042226529fd0803292fdaf657 (diff)
downloadmongo-042726547a442fc5be143d2003374fae904ee389.tar.gz
SERVER-55753 Use w: majority for createCollection command in transactions_committed_with_tickets_exhausted.js
(cherry picked from commit 3c23b5db8d03ee00f12798b67bf9c272ecbbe799)
-rw-r--r--jstests/replsets/transactions_committed_with_tickets_exhausted.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/transactions_committed_with_tickets_exhausted.js b/jstests/replsets/transactions_committed_with_tickets_exhausted.js
index 786d2b34777..6f242159a91 100644
--- a/jstests/replsets/transactions_committed_with_tickets_exhausted.js
+++ b/jstests/replsets/transactions_committed_with_tickets_exhausted.js
@@ -36,7 +36,7 @@ const db = primary.getDB("test");
const session = primary.startSession({causalConsistency: false});
const sessionDb = session.getDatabase("test");
-assert.commandWorked(db.runCommand({create: "mycoll"}));
+assert.commandWorked(db.runCommand({create: "mycoll", writeConcern: {w: "majority"}}));
jsTestLog("Starting transaction");
session.startTransaction();