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
128
128
- ` mvn clean verify -DtestkitArgs='--tests STUB_TESTS' ` - runs all project tests and Testkit stub tests.
129
129
- ` mvn clean verify -DskipTests -P testkit-tests ` - skips all project tests and runs Testkit tests.
130
130
- ` 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.
131
132
132
133
##### Running Testkit manually
133
134
Original file line number Diff line number Diff line change 24
24
import org .neo4j .driver .AccessMode ;
25
25
import org .neo4j .driver .Value ;
26
26
import org .neo4j .driver .exceptions .ClientException ;
27
- import org .neo4j .driver .exceptions .ConnectionReadTimeoutException ;
28
27
import org .neo4j .driver .exceptions .ServiceUnavailableException ;
29
28
import org .neo4j .driver .exceptions .SessionExpiredException ;
30
29
import org .neo4j .driver .exceptions .TransientException ;
@@ -86,12 +85,7 @@ private Throwable handledError( Throwable receivedError )
86
85
{
87
86
Throwable error = Futures .completionExceptionCause ( receivedError );
88
87
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 )
95
89
{
96
90
return handledServiceUnavailableException ( ((ServiceUnavailableException ) error ) );
97
91
}
You can’t perform that action at this time.
0 commit comments