Elffuss BraidHub

kikocis/java-driver public

Disable heartbeat in tests that use Scassandra (doesn't support OPTIONS)
Changeseted2d579048cdb43b53ef32ab85bc00e114697af9fdeadca84de3daf60a881461
AuthorAndrew Tolbert <andrew.tolbert@datastax.com> · 2015-03-10 16:36 -05:00
CommitterAndrew Tolbert <andrew.tolbert@datastax.com> · 2015-03-10 16:36 -05:00
Parentsed65c15f34d2

Browse the files at this changeset

1 file changed

modified driver-core/src/test/java/com/datastax/driver/core/RequestHandlerTest.java +2 −1
@@ -31,7 +31,8 @@
3131 cluster = Cluster.builder().addContactPoint("127.0.0.1").withPort(scassandra.getBinaryPort())
3232 .withPoolingOptions(new PoolingOptions()
3333 .setCoreConnectionsPerHost(HostDistance.LOCAL, 1)
34- .setMaxConnectionsPerHost(HostDistance.LOCAL, 1))
34+ .setMaxConnectionsPerHost(HostDistance.LOCAL, 1)
35+ .setHeartbeatIntervalSeconds(0))
3536 .build();
3637
3738 Session session = cluster.connect();