This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 52c4e3cfcf2 IGNITE-28323 Fix 
testTransactionCannotBeUsedAfterNodeRestart (#7837)
52c4e3cfcf2 is described below

commit 52c4e3cfcf2cd66252fe5801f2f427fd7bbc5c87
Author: Pavel Tupitsyn <[email protected]>
AuthorDate: Fri Mar 20 14:33:43 2026 +0100

    IGNITE-28323 Fix testTransactionCannotBeUsedAfterNodeRestart (#7837)
---
 .../java/org/apache/ignite/jdbc/ItJdbcConnectionFailoverTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/modules/jdbc/src/integrationTest/java/org/apache/ignite/jdbc/ItJdbcConnectionFailoverTest.java
 
b/modules/jdbc/src/integrationTest/java/org/apache/ignite/jdbc/ItJdbcConnectionFailoverTest.java
index 6e4a2cd4e34..4209d83fa31 100644
--- 
a/modules/jdbc/src/integrationTest/java/org/apache/ignite/jdbc/ItJdbcConnectionFailoverTest.java
+++ 
b/modules/jdbc/src/integrationTest/java/org/apache/ignite/jdbc/ItJdbcConnectionFailoverTest.java
@@ -213,13 +213,13 @@ public class ItJdbcConnectionFailoverTest extends 
ClusterPerTestIntegrationTest
                 cluster.stopNode(1);
 
                 //noinspection ThrowableNotThrown
-                assertThrowsSqlException("Connection refused", () -> 
stmt.execute(dummyQuery));
+                assertThrowsSqlException("Transaction context has been lost 
due to connection errors", () -> stmt.execute(dummyQuery));
 
                 cluster.startNode(0);
                 cluster.startNode(1);
 
                 //noinspection ThrowableNotThrown
-                assertThrowsSqlException("Transaction is already finished", () 
-> stmt.execute(dummyQuery));
+                assertThrowsSqlException("Transaction context has been lost 
due to connection errors", () -> stmt.execute(dummyQuery));
             }
         }
     }

Reply via email to