diff options
author | Pavi Vetriselvan <pvselvan@umich.edu> | 2018-10-30 11:30:28 -0400 |
---|---|---|
committer | Pavi Vetriselvan <pvselvan@umich.edu> | 2018-10-30 11:32:00 -0400 |
commit | 6ead45d2b861f395c7c9e21606b10adbae67382d (patch) | |
tree | 1b0643b982b13baee698e05eac2fe501e4f328a5 /jstests/hooks | |
parent | b9f13ea4f0f8e5a3e69ed99c954d94629e7e2d4a (diff) | |
download | mongo-6ead45d2b861f395c7c9e21606b10adbae67382d.tar.gz |
SERVER-36728 Don't ignore errors when aborting a transaction in tests
Diffstat (limited to 'jstests/hooks')
-rw-r--r-- | jstests/hooks/run_check_repl_dbhash_background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/hooks/run_check_repl_dbhash_background.js b/jstests/hooks/run_check_repl_dbhash_background.js index 30ebca19d0c..d15c8f52c42 100644 --- a/jstests/hooks/run_check_repl_dbhash_background.js +++ b/jstests/hooks/run_check_repl_dbhash_background.js @@ -252,7 +252,7 @@ for (let session of sessions) { if ((commitErrorSessionId === undefined) || bsonWoCompare(session.getSessionId(), commitErrorSessionId) !== 0) { - session.abortTransaction(); + session.abortTransaction_forTesting(); } } |