Add CoroutinesAnnotationTransactionInterceptorTests

suspendingValueSuccess() currently fails due to an
unexpected rollback on transactional suspending functions
returning a value.

See gh-25998
This commit is contained in:
Sébastien Deleuze 2020-11-09 10:10:25 +01:00
parent e781d21097
commit bdf120f1ef
1 changed files with 0 additions and 2 deletions

View File

@ -80,8 +80,6 @@ class CoroutinesAnnotationTransactionInterceptorTests {
assertReactiveGetTransactionAndRollbackCount(1)
}
private fun assertReactiveGetTransactionAndCommitCount(expectedCount: Int) {
Assertions.assertThat(rtm.begun).isEqualTo(expectedCount)
Assertions.assertThat(rtm.commits).isEqualTo(expectedCount)