Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test failures due to CEP-37 #270

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions cqlsh_tests/test_cqlsh.py
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,8 @@ def get_test_table_output(self, has_val=True, has_val_idx=True):
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair = 'BLOCKING'
AND speculative_retry = '99p';
AND speculative_retry = '99p'
AND auto_repair = {'full_enabled': 'true', 'incremental_enabled': 'true', 'preview_repaired_enabled': 'true', 'priority': '0'};
""" % self.get_compaction()
elif self.cluster.version() >= LooseVersion('4.1'):
create_table += """
Expand All @@ -1222,7 +1223,8 @@ def get_test_table_output(self, has_val=True, has_val_idx=True):
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair = 'BLOCKING'
AND speculative_retry = '99p';
AND speculative_retry = '99p'
AND auto_repair = {'full_enabled': 'true', 'incremental_enabled': 'true', 'preview_repaired_enabled': 'true', 'priority': '0'};
"""
elif self.cluster.version() >= LooseVersion('4.0'):
create_table += """
Expand Down Expand Up @@ -1334,7 +1336,8 @@ def get_users_table_output(self):
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair = 'BLOCKING'
AND speculative_retry = '99p';
AND speculative_retry = '99p'
AND auto_repair = {'full_enabled': 'true', 'incremental_enabled': 'true', 'preview_repaired_enabled': 'true', 'priority': '0'};
""" % self.get_compaction()
elif self.cluster.version() >= LooseVersion('4.1'):
create_table = """
Expand All @@ -1359,7 +1362,8 @@ def get_users_table_output(self):
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair = 'BLOCKING'
AND speculative_retry = '99p';
AND speculative_retry = '99p'
AND auto_repair = {'full_enabled': 'true', 'incremental_enabled': 'true', 'preview_repaired_enabled': 'true', 'priority': '0'};
"""
elif self.cluster.version() >= LooseVersion('4.0'):
create_table = """
Expand All @@ -1383,7 +1387,8 @@ def get_users_table_output(self):
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair = 'BLOCKING'
AND speculative_retry = '99p';
AND speculative_retry = '99p'
AND auto_repair = {'full_enabled': 'true', 'incremental_enabled': 'true', 'preview_repaired_enabled': 'true', 'priority': '0'};
"""
elif self.cluster.version() >= LooseVersion('3.9'):
create_table = """
Expand All @@ -1405,7 +1410,8 @@ def get_users_table_output(self):
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99PERCENTILE';
AND speculative_retry = '99p'
AND auto_repair = {'full_enabled': 'true', 'incremental_enabled': 'true', 'preview_repaired_enabled': 'true', 'priority': '0'};
"""
elif self.cluster.version() >= LooseVersion('3.0'):
create_table = """
Expand Down Expand Up @@ -1497,7 +1503,8 @@ def get_users_by_state_mv_output(self):
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair = 'BLOCKING'
AND speculative_retry = '99p';
AND speculative_retry = '99p'
AND auto_repair = {'full_enabled': 'true', 'incremental_enabled': 'true', 'preview_repaired_enabled': 'true', 'priority': '0'};
""" % self.get_compaction()
elif self.cluster.version() >= LooseVersion('4.1'):
return """
Expand All @@ -1522,7 +1529,8 @@ def get_users_by_state_mv_output(self):
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair = 'BLOCKING'
AND speculative_retry = '99p';
AND speculative_retry = '99p'
AND auto_repair = {'full_enabled': 'true', 'incremental_enabled': 'true', 'preview_repaired_enabled': 'true', 'priority': '0'};
"""
elif self.cluster.version() >= LooseVersion('4.0'):
return """
Expand Down