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.
2 parents 82e8c16 + df9b4a4 commit f050166Copy full SHA for f050166
driver/src/test/java/org/neo4j/driver/v1/integration/SessionResetIT.java
@@ -339,10 +339,10 @@ public void shouldKillLongStreamingResult() throws Throwable
339
340
fail( "Should have got an exception about streaming get killed." );
341
}
342
- catch ( ClientException e )
+ catch ( Neo4jException e )
343
{
344
endTime = System.currentTimeMillis();
345
- assertThat( e.code(), equalTo( "Neo.ClientError.Procedure.ProcedureCallFailed" ) );
+ assertThat( e.getMessage(), containsString( "The transaction has been terminated" ) );
346
assertThat( recordCount, greaterThan( 1 ) );
347
348
assertTrue( startTime > 0 );
0 commit comments