We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16a3a35 commit a313058Copy full SHA for a313058
1 file changed
driver-core/src/test/java/com/datastax/driver/core/SessionTest.java
@@ -156,7 +156,7 @@ public void sessionMemoryLeakTest() throws Exception {
156
PoolingOptions poolingOptions = new PoolingOptions()
157
.setCoreConnectionsPerHost(HostDistance.LOCAL, corePoolSize);
158
Cluster cluster = Cluster.builder()
159
- .addContactPoints(CCMBridge.IP_PREFIX + '1')
+ .addContactPointsWithPorts(Collections.singletonList(hostAddress))
160
.withPoolingOptions(poolingOptions)
161
.build();
162
0 commit comments