Adjusted the config defaults for some options that were already supported by cpp-rust-driver.
keepalive
Implemented cass_cluster_set_connection_heartbeat_interval and cass_cluster_set_connection_idle_timeout.
Set the defaults for these options.
HeartbeatTests
HeartbeastTests suite unfortunately cannot be enabled yet. It depends on logs emitted by the driver. However, we will be able to enable most of them, see https://github.com/scylladb/scylla-rust-driver/pull/1092. The only exception is HeartbeatTests.Integration_Cassandra_HeartbeatFailed since it requires metrics support as well.
Pre-review checklist
[x] I have split my patch into logically separate commits.
[x] All commit messages clearly explain what they change and why.
[x] PR description sums up the changes and reasons why they should be introduced.
~[ ] I have implemented Rust unit tests for the features/changes introduced.~
~[] I have enabled appropriate tests in .github/workflows/build.yml in gtest_filter.~
~[] I have enabled appropriate tests in .github/workflows/cassandra.yml in gtest_filter.~
Config defaults
Adjusted the config defaults for some options that were already supported by cpp-rust-driver.
keepalive
Implemented
cass_cluster_set_connection_heartbeat_interval
andcass_cluster_set_connection_idle_timeout
. Set the defaults for these options.HeartbeatTests
HeartbeastTests suite unfortunately cannot be enabled yet. It depends on logs emitted by the driver. However, we will be able to enable most of them, see https://github.com/scylladb/scylla-rust-driver/pull/1092. The only exception is
HeartbeatTests.Integration_Cassandra_HeartbeatFailed
since it requires metrics support as well.Pre-review checklist
.github/workflows/build.yml
ingtest_filter
.~.github/workflows/cassandra.yml
ingtest_filter
.~