summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorIan Boros <puppyofkosh@gmail.com>2019-07-23 12:19:10 -0400
committerIan Boros <puppyofkosh@gmail.com>2019-07-23 12:19:10 -0400
commit65a1db06e9a88e7d96e1359662f5480f939c0e5b (patch)
tree896bcac22447165f5a200bc55484c9e94b9c0ebc /jstests
parent3bfb22c6ee0d45b7144b5cbe864fa88afe471215 (diff)
downloadmongo-65a1db06e9a88e7d96e1359662f5480f939c0e5b.tar.gz
Revert "SERVER-41881 Unstashing the transaction lock resources should ignore the saved value of maxLockTimeout and explicitly set the maxLockTimeout based on node's state."
This reverts commit e707fd09ef0dadbb33510249732fd38c654da914.
Diffstat (limited to 'jstests')
-rw-r--r--jstests/replsets/transactions_reaped_with_tickets_exhausted.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/replsets/transactions_reaped_with_tickets_exhausted.js b/jstests/replsets/transactions_reaped_with_tickets_exhausted.js
index b0540773411..3dfee76da09 100644
--- a/jstests/replsets/transactions_reaped_with_tickets_exhausted.js
+++ b/jstests/replsets/transactions_reaped_with_tickets_exhausted.js
@@ -87,9 +87,8 @@
}
// Transaction should already be aborted.
- let res = assert.commandFailedWithCode(session.abortTransaction_forTesting(),
- ErrorCodes.NoSuchTransaction);
- assert(res.errmsg.match(/Transaction .* has been aborted/), res.errmsg);
+ assert.commandFailedWithCode(session.abortTransaction_forTesting(),
+ ErrorCodes.NoSuchTransaction);
session.endSession();
rst.stopSet();