Skip to content
Permalink
Browse files
Improve repair dtests stability by waiting for binary proto
Patch by Berenguer Blasi, reviewed by Ekaterina Dimitrova and
brandonwilliams for CASSANDRA-15986
  • Loading branch information
bereng authored and driftx committed Aug 21, 2020
1 parent 1525cdd commit 79c0120fbd659a7a5169ed945279dfed688705d8
Showing 1 changed file with 2 additions and 2 deletions.
@@ -85,7 +85,7 @@ def check_rows_on_node(self, node_to_check, rows, found=None, missings=None, res

if restart:
for node in stopped_nodes:
node.start(wait_other_notice=True)
node.start(wait_for_binary_proto=True, wait_other_notice=True)

def _populate_cluster(self, start=True):
cluster = self.cluster
@@ -95,7 +95,7 @@ def _populate_cluster(self, start=True):
cluster.set_configuration_options(values={'hinted_handoff_enabled': False})
cluster.set_batch_commitlog(enabled=True)
logger.debug("Starting cluster..")
cluster.populate(3).start()
cluster.populate(3).start(wait_for_binary_proto=True, wait_other_notice=True)
node1, node2, node3 = cluster.nodelist()

session = self.patient_cql_connection(node1, retry_policy=FlakyRetryPolicy(max_retries=15))

0 comments on commit 79c0120

Please sign in to comment.