Skip to content

Commit e6e4846

Browse files
author
Zhen
committed
Merge branch '1.5' into 1.6
2 parents f050166 + 364fca4 commit e6e4846

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

driver/src/test/java/org/neo4j/driver/internal/async/ChannelConnectorImplTest.java renamed to driver/src/test/java/org/neo4j/driver/internal/async/ChannelConnectorImplIT.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import org.junit.Test;
3030

3131
import java.io.IOException;
32-
import java.net.ConnectException;
3332
import java.net.ServerSocket;
3433
import java.util.concurrent.ExecutionException;
3534
import java.util.concurrent.TimeUnit;
@@ -57,7 +56,7 @@
5756
import static org.neo4j.driver.internal.logging.DevNullLogging.DEV_NULL_LOGGING;
5857
import 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

0 commit comments

Comments
 (0)