Adjust and enable 5 out of 11 ExecutionProfile integration tests #290
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ref: #132
Enabled tests:
InvalidName
RequestTimeout
Consistency
SerialConsistency
LatencyAwareRouting
Tests that we could not enable (yet):
RetryPolicy
<- this one requires to implementcass_retry_policy_logging_new
RoundRobin
<- requirescass_future_coordinator
TokenAwareRouting
<- currently requirescass_statement_set_key_index
andcass_statement_set_keyspace
. These are not going to be supported by rust-driver (most probably). I'll need to investigate if the test could be rewritten using prepared statements. If so, this will be a part of separate PR.BlacklistFiltering
<- requirescass_[cluster/execution_profile]_set_blacklist_filtering
WhitelistFiltering
<-cass_[cluster/execution_profile]_set_whitelist_filtering
SpeculativeExecutionPolicy
<- it throws some error related to UDFs. Need to be investigated. However, it also requires a testing utility to get all of the attempted hosts from the result. This could be probably implemented usingHistoryListener
.Pre-review checklist
[ ] I have implemented Rust unit tests for the features/changes introduced..github/workflows/build.yml
ingtest_filter
..github/workflows/cassandra.yml
ingtest_filter
.