Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure terminated transactions throw correct exceptions
Behaviour of KernelTransactionImplementation#close() is: * terminated transaction that was neither marked for success nor for failure simply rolls back without any exception * terminated transaction marked for success throws TransactionTerminatedException * terminated transaction marked for failure simply rolls back without any exception * terminated transaction marked for both success and failure throws TransactionTerminatedException Added unit tests for all these cases.
- Loading branch information
Showing
4 changed files
with
671 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.