kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | ed2d579048cdb43b53ef32ab85bc00e114697af9fdeadca84de3daf60a881461 |
|---|---|
| Author | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-03-10 16:36 -05:00 |
| Committer | Andrew Tolbert <andrew.tolbert@datastax.com> · 2015-03-10 16:36 -05:00 |
| Parents | ed65c15f34d2 |
1 file changed
modified driver-core/src/test/java/com/datastax/driver/core/RequestHandlerTest.java +2 −1
| @@ -31,7 +31,8 @@ | ||
| 31 | 31 | cluster = Cluster.builder().addContactPoint("127.0.0.1").withPort(scassandra.getBinaryPort()) |
| 32 | 32 | .withPoolingOptions(new PoolingOptions() |
| 33 | 33 | .setCoreConnectionsPerHost(HostDistance.LOCAL, 1) |
| 34 | - .setMaxConnectionsPerHost(HostDistance.LOCAL, 1)) | |
| 34 | + .setMaxConnectionsPerHost(HostDistance.LOCAL, 1) | |
| 35 | + .setHeartbeatIntervalSeconds(0)) | |
| 35 | 36 | .build(); |
| 36 | 37 | |
| 37 | 38 | Session session = cluster.connect(); |