Elffuss BraidHub

kikocis/java-driver public

Fix SessionTest#sessionMemoryLeakTest by using correct address.
Changeset2e24721d7f5d193a631c7f8300e7e56d7f5169bd5cf07d312bd4e84c342237fe
AuthorAndrew Tolbert <andrew.tolbert@datastax.com> · 2015-03-26 11:44 -05:00
CommitterAndrew Tolbert <andrew.tolbert@datastax.com> · 2015-03-26 11:44 -05:00
Parentsa7a2f6b3c17b

Browse the files at this changeset

1 file changed

modified driver-core/src/test/java/com/datastax/driver/core/SessionTest.java +1 −1
@@ -156,7 +156,7 @@
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