File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
driver/src/main/java/org/neo4j/driver/internal/handlers Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 2424import org .neo4j .driver .AccessMode ;
2525import org .neo4j .driver .Value ;
2626import org .neo4j .driver .exceptions .ClientException ;
27- import org .neo4j .driver .exceptions .ConnectionReadTimeoutException ;
2827import org .neo4j .driver .exceptions .ServiceUnavailableException ;
2928import org .neo4j .driver .exceptions .SessionExpiredException ;
3029import 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 }
You can’t perform that action at this time.
0 commit comments