Skip to content
Permalink
Browse files
Ignore REE when < 4.0 in replace tests
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17611
  • Loading branch information
driftx committed May 11, 2022
1 parent e76008d commit 8b7c3cc693e8a3ae2741b6883333365c3ab87c56
Showing 1 changed file with 10 additions and 0 deletions.
@@ -368,6 +368,11 @@ def test_fail_when_seed(self):
self.fixture_dtest_setup.ignore_log_patterns = list(self.fixture_dtest_setup.ignore_log_patterns) + [
r'Exception encountered during startup']

# see CASSANDRA-17611
if self.cluster.version() < '4.0':
self.fixture_dtest_setup.ignore_log_patterns = list(self.fixture_dtest_setup.ignore_log_patterns) + [
r'RejectedExecutionException']

self._setup(n=3)
node1, node2, node3 = self.cluster.nodelist()
self.cluster.seeds.append(node3.address())
@@ -402,6 +407,11 @@ def test_unsafe_replace(self):
self.fixture_dtest_setup.ignore_log_patterns = list(self.fixture_dtest_setup.ignore_log_patterns) + [
r'Exception encountered during startup']

# see CASSANDRA-17611
if self.cluster.version() < '4.0':
self.fixture_dtest_setup.ignore_log_patterns = list(self.fixture_dtest_setup.ignore_log_patterns) + [
r'RejectedExecutionException']

self._setup(n=3)
self._insert_data()
initial_data = self._fetch_initial_data()

0 comments on commit 8b7c3cc

Please sign in to comment.