sergeyuttsel commented on code in PR #1503: URL: https://github.com/apache/ignite-3/pull/1503#discussion_r1066963298
########## modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/client/ItThinClientTransactionsTest.java: ########## @@ -199,21 +200,23 @@ void testAccessLockedKeyTimesOut() { } @Test - void testCommitRollbackSameTxThrows() { + void testCommitRollbackSameTxNotThrows() { Review Comment: fixed ########## modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/client/ItThinClientTransactionsTest.java: ########## @@ -199,21 +200,23 @@ void testAccessLockedKeyTimesOut() { } @Test - void testCommitRollbackSameTxThrows() { + void testCommitRollbackSameTxNotThrows() { Transaction tx = client().transactions().begin(); tx.commit(); - TransactionException ex = assertThrows(TransactionException.class, tx::rollback); - assertThat(ex.getMessage(), containsString("Transaction is already committed")); + assertDoesNotThrow(tx::rollback, "Unexpected exception was thrown."); + assertDoesNotThrow(tx::commit, "Unexpected exception was thrown."); + assertDoesNotThrow(tx::rollback, "Unexpected exception was thrown."); } @Test - void testRollbackCommitSameTxThrows() { + void testRollbackCommitSameTxNotThrows() { Review Comment: fixed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org