Skip to content

Commit af14f46

Browse files
committed
wip
1 parent 0179530 commit af14f46

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ Make sure to run build for the whole project and not just for `testkit-tests` mo
128128
- `mvn clean verify -DtestkitArgs='--tests STUB_TESTS'` - runs all project tests and Testkit stub tests.
129129
- `mvn clean verify -DskipTests -P testkit-tests` - skips all project tests and runs Testkit tests.
130130
- `mvn clean verify -DskipTests -DtestkitArgs='--tests STUB_TESTS'` - skips all project tests and runs Testkit stub tests.
131+
- `mvn clean verify -DskipITs -DtestkitArgs='--tests STUB_TESTS'` - skips all integration tests and runs Testkit stub tests.
131132

132133
##### Running Testkit manually
133134

driver/src/main/java/org/neo4j/driver/internal/handlers/RoutingResponseHandler.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import org.neo4j.driver.AccessMode;
2525
import org.neo4j.driver.Value;
2626
import org.neo4j.driver.exceptions.ClientException;
27-
import org.neo4j.driver.exceptions.ConnectionReadTimeoutException;
2827
import org.neo4j.driver.exceptions.ServiceUnavailableException;
2928
import org.neo4j.driver.exceptions.SessionExpiredException;
3029
import org.neo4j.driver.exceptions.TransientException;
@@ -86,12 +85,7 @@ private Throwable handledError( Throwable receivedError )
8685
{
8786
Throwable error = Futures.completionExceptionCause( receivedError );
8887

89-
if ( error instanceof ConnectionReadTimeoutException )
90-
{
91-
errorHandler.onConnectionFailure( address );
92-
return error;
93-
}
94-
else if ( error instanceof ServiceUnavailableException )
88+
if ( error instanceof ServiceUnavailableException )
9589
{
9690
return handledServiceUnavailableException( ((ServiceUnavailableException) error) );
9791
}

0 commit comments

Comments
 (0)