We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 508cded commit a845c70Copy full SHA for a845c70
driver/src/test/java/org/neo4j/driver/integration/SessionResetIT.java
@@ -805,7 +805,8 @@ private static boolean isAcceptable( Throwable error )
805
private static boolean isTransactionTerminatedException( Throwable error )
806
{
807
return error instanceof TransientException &&
808
- error.getMessage().startsWith( "The transaction has been terminated" );
+ error.getMessage().startsWith( "The transaction has been terminated" ) ||
809
+ error.getMessage().startsWith( "Trying to execute query in a terminated transaction" );
810
}
811
812
private static String longPeriodicCommitQuery()
0 commit comments