Closed Bouncheck closed 2 months ago
I'll squash review adjustments commit into others before merge. Actually we probably don't want to merge this until the reconnection to the new cluster works, which means fixing the unresolved socket getting overwritten.
@Bouncheck , can you please address test failures on CICD
Created #340 . It should solve the 6.1.1 failures.
@Bouncheck , is it ready ?
Yes, but it was a little flaky with cassandra. Should i reduce number of nodes to 2?
Yes, but it was a little flaky with cassandra. Should i reduce number of nodes to 2?
I see it is fine, let's address it later.
Adds
MockResolverIT#replace_cluster_test()
as a test method that runs the replace cluster scenario and checks if driver managed to reconnect.In the test we create three node cluster and replace it with completely new one. Hostname is mocked and points to all 3 nodes.