diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2020-08-14 19:33:43 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-14 20:55:44 +0000 |
commit | f6e8864256e82900629db044fb0b2cf4b5a81861 (patch) | |
tree | f28d2b1de5234220ae59edfc143e81364d52cca9 | |
parent | b99d749bac6236da073ee200edceef8ff25901d9 (diff) | |
download | mongo-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.js | 2 |
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}); |