-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v4.0
-
Repl 2018-11-19, Repl 2018-12-03
-
60
The transactions_write_conflicts.js and transactions_write_conflicts_unique_indexes.js tests run multiple pairs of transactions with writes in various interleavings. In the case that a transaction operation fails for some reason and throws an exception, the test may fail but leave a transaction open. This can lead to problems if we subsequently try to run consistency checks, for example, that require taking strong collection locks. To help this, we should have these tests clean up after themselves in case an exception is thrown, by aborting all transactions or killing the sessions they were using.
- is related to
-
SERVER-37103 Add a hook to check for open transactions after every test
- Closed
- related to
-
SERVER-38060 Don't run after test hooks in resmoke if the test fails
- Closed