vldpyatkov commented on code in PR #1663:
URL: https://github.com/apache/ignite-3/pull/1663#discussion_r1105565359


##########
modules/table/src/testFixtures/java/org/apache/ignite/internal/table/TxAbstractTest.java:
##########
@@ -1898,4 +1900,72 @@ public void 
testReadOnlyPendingWriteIntentSkippedCombined() {
         Collection<Tuple> retrievedKeys3 = 
accounts.recordView().getAll(readOnlyTx2, List.of(makeKey(1), makeKey(2)));
         validateBalance(retrievedKeys3, 300.);
     }
+
+    @Test
+    public void testTransactionAlreadyCommitted() {
+        testTransactionAlreadyFixed(true);
+    }
+
+    @Test
+    public void testTransactionAlreadyRolledback() {
+        testTransactionAlreadyFixed(false);
+    }
+
+    /**
+     * Checks operations that act after a transaction is committed, are 
finished with exception.
+     *
+     * @param commit True when transaction is committed, false the transaction 
is rolled back.
+     */
+    private void testTransactionAlreadyFixed(boolean commit) {

Review Comment:
   Renamed.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to