summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2020-08-14 19:33:43 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-14 20:55:44 +0000
commitf6e8864256e82900629db044fb0b2cf4b5a81861 (patch)
treef28d2b1de5234220ae59edfc143e81364d52cca9
parentb99d749bac6236da073ee200edceef8ff25901d9 (diff)
downloadmongo-f6e8864256e82900629db044fb0b2cf4b5a81861.tar.gz
SERVER-50325 Allow additional error code in no_writes_to_config_transactions_with_prepared_transaction.js
-rw-r--r--jstests/core/txns/no_writes_to_config_transactions_with_prepared_transaction.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/txns/no_writes_to_config_transactions_with_prepared_transaction.js b/jstests/core/txns/no_writes_to_config_transactions_with_prepared_transaction.js
index 067bf1482fa..79bc3bac28d 100644
--- a/jstests/core/txns/no_writes_to_config_transactions_with_prepared_transaction.js
+++ b/jstests/core/txns/no_writes_to_config_transactions_with_prepared_transaction.js
@@ -74,7 +74,7 @@ jsTestLog("Test that dropping config.transactions fails when there is a prepared
assert.commandFailedWithCode(assert.throws(function() {
sessionConfigDB.transactions.drop();
}),
- 40528);
+ [4852500, 40528]);
jsTestLog("Test that we can prepare a transaction on a different session");
const session2 = db.getMongo().startSession({causalConsistency: false});