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 2929import org .junit .Test ;
3030
3131import java .io .IOException ;
32- import java .net .ConnectException ;
3332import java .net .ServerSocket ;
3433import java .util .concurrent .ExecutionException ;
3534import java .util .concurrent .TimeUnit ;
5756import static org .neo4j .driver .internal .logging .DevNullLogging .DEV_NULL_LOGGING ;
5857import static org .neo4j .driver .v1 .util .TestUtil .await ;
5958
60- public class ChannelConnectorImplTest
59+ public class ChannelConnectorImplIT
6160{
6261 @ Rule
6362 public final TestNeo4j neo4j = new TestNeo4j ();
@@ -170,7 +169,6 @@ public void shouldEnforceConnectTimeout() throws Exception
170169 catch ( Exception e )
171170 {
172171 assertThat ( e , instanceOf ( ServiceUnavailableException .class ) );
173- assertThat ( e .getCause (), instanceOf ( ConnectException .class ) );
174172 }
175173 }
176174
You can’t perform that action at this time.
0 commit comments