Skip to content

Commit a313058

Browse files
committed
Fix SessionTest#sessionMemoryLeakTest by using correct address.
1 parent 16a3a35 commit a313058

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

driver-core/src/test/java/com/datastax/driver/core/SessionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public void sessionMemoryLeakTest() throws Exception {
156156
PoolingOptions poolingOptions = new PoolingOptions()
157157
.setCoreConnectionsPerHost(HostDistance.LOCAL, corePoolSize);
158158
Cluster cluster = Cluster.builder()
159-
.addContactPoints(CCMBridge.IP_PREFIX + '1')
159+
.addContactPointsWithPorts(Collections.singletonList(hostAddress))
160160
.withPoolingOptions(poolingOptions)
161161
.build();
162162

0 commit comments

Comments
 (0)