Skip to content

Commit f050166

Browse files
committed
Merge branch 1.5 into 1.6
2 parents 82e8c16 + df9b4a4 commit f050166

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver/src/test/java/org/neo4j/driver/v1/integration/SessionResetIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,10 +339,10 @@ public void shouldKillLongStreamingResult() throws Throwable
339339

340340
fail( "Should have got an exception about streaming get killed." );
341341
}
342-
catch ( ClientException e )
342+
catch ( Neo4jException e )
343343
{
344344
endTime = System.currentTimeMillis();
345-
assertThat( e.code(), equalTo( "Neo.ClientError.Procedure.ProcedureCallFailed" ) );
345+
assertThat( e.getMessage(), containsString( "The transaction has been terminated" ) );
346346
assertThat( recordCount, greaterThan( 1 ) );
347347

348348
assertTrue( startTime > 0 );

0 commit comments

Comments
 (0)