File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
driver/src/test/java/org/neo4j/driver/internal/async Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 29
29
import org .junit .Test ;
30
30
31
31
import java .io .IOException ;
32
- import java .net .ConnectException ;
33
32
import java .net .ServerSocket ;
34
33
import java .util .concurrent .ExecutionException ;
35
34
import java .util .concurrent .TimeUnit ;
57
56
import static org .neo4j .driver .internal .logging .DevNullLogging .DEV_NULL_LOGGING ;
58
57
import static org .neo4j .driver .v1 .util .TestUtil .await ;
59
58
60
- public class ChannelConnectorImplTest
59
+ public class ChannelConnectorImplIT
61
60
{
62
61
@ Rule
63
62
public final TestNeo4j neo4j = new TestNeo4j ();
@@ -170,7 +169,6 @@ public void shouldEnforceConnectTimeout() throws Exception
170
169
catch ( Exception e )
171
170
{
172
171
assertThat ( e , instanceOf ( ServiceUnavailableException .class ) );
173
- assertThat ( e .getCause (), instanceOf ( ConnectException .class ) );
174
172
}
175
173
}
176
174
You can’t perform that action at this time.
0 commit comments