kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 2e24721d7f5d193a631c7f8300e7e56d7f5169bd5cf07d312bd4e84c342237fe |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-03-26 11:44 -05:00 |
| Committer | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-03-26 11:44 -05:00 |
| Parents | a7a2f6b3c17b |
1 file changed
modified driver-core/src/test/java/com/datastax/driver/core/SessionTest.java +1 −1
| @@ -156,7 +156,7 @@ | ||
| 156 | 156 | PoolingOptions poolingOptions = new PoolingOptions() |
| 157 | 157 | .setCoreConnectionsPerHost(HostDistance.LOCAL, corePoolSize); |
| 158 | 158 | Cluster cluster = Cluster.builder() |
| 159 | - .addContactPoints(CCMBridge.IP_PREFIX + '1') | |
| 159 | + .addContactPointsWithPorts(Collections.singletonList(hostAddress)) | |
| 160 | 160 | .withPoolingOptions(poolingOptions) |
| 161 | 161 | .build(); |
| 162 | 162 |