kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | edebb7f8a5cc1607c196f2b1758518422a4ec07be4df88d0b69e0be9e3537086 |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-11-04 08:40 -06:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2015-11-05 18:37 +01:00 |
| Parents | c0a7681387c1 |
1 file changed
modified driver-core/src/test/java/com/datastax/driver/core/ClusterInitTest.java +2 −0
| @@ -47,6 +47,7 @@ | ||
| 47 | 47 | import static com.datastax.driver.core.FakeHost.Behavior.THROWING_CONNECT_TIMEOUTS; |
| 48 | 48 | import static com.datastax.driver.core.HostDistance.LOCAL; |
| 49 | 49 | import static com.datastax.driver.core.TestUtils.nonDebouncingQueryOptions; |
| 50 | +import static com.datastax.driver.core.TestUtils.nonQuietClusterCloseOptions; | |
| 50 | 51 | |
| 51 | 52 | public class ClusterInitTest { |
| 52 | 53 | private static final Logger logger = LoggerFactory.getLogger(ClusterInitTest.class); |
| @@ -189,6 +190,7 @@ | ||
| 189 | 190 | public void should_be_able_to_close_cluster_that_never_successfully_connected() throws Exception { |
| 190 | 191 | Cluster cluster = Cluster.builder() |
| 191 | 192 | .addContactPointsWithPorts(Collections.singleton(new InetSocketAddress("127.0.0.1", 65534))) |
| 193 | + .withNettyOptions(nonQuietClusterCloseOptions) | |
| 192 | 194 | .build(); |
| 193 | 195 | try { |
| 194 | 196 | cluster.connect(); |