kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 9c25c03761338c57c562e709d0b07a2c2b440e10aa5f3e6f5fe11cb6477e8996 |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-10-30 16:07 -05:00 |
| Committer | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-10-30 16:07 -05:00 |
| Parents | e5384926e4bb |
1 file changed
modified driver-core/src/test/java/com/datastax/driver/core/ClusterInitTest.java +1 −1
| @@ -158,7 +158,7 @@ | ||
| 158 | 158 | // Both contact points time out so we're sure we'll try both of them and init will never complete. |
| 159 | 159 | List<FakeHost> hosts = Lists.newArrayList( |
| 160 | 160 | new FakeHost(CCMBridge.ipOfNode(0), 9042, THROWING_CONNECT_TIMEOUTS), |
| 161 | - new FakeHost(CCMBridge.ipOfNode(0), 9042, THROWING_CONNECT_TIMEOUTS)); | |
| 161 | + new FakeHost(CCMBridge.ipOfNode(1), 9042, THROWING_CONNECT_TIMEOUTS)); | |
| 162 | 162 | // Use a low reconnection interval and keep the default connect timeout (5 seconds). So if a reconnection was scheduled, |
| 163 | 163 | // we would see a call to the reconnection policy. |
| 164 | 164 | CountingReconnectionPolicy reconnectionPolicy = new CountingReconnectionPolicy(new ConstantReconnectionPolicy(100)); |