Skip to content
Permalink
Browse files
Increase several timeouts on test failures
patch by Berenguer Blasi; reviewed by Benjamin Lerer for CASSANDRA-16073
  • Loading branch information
bereng authored and blerer committed Aug 26, 2020
1 parent bc270af commit faf202c6c377a875a2c52ee971436c14962d1132
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
@@ -78,7 +78,8 @@ def trace(self, session):
out, err, _ = node1.run_cqlsh(
"CONSISTENCY ALL; TRACING ON; "
"INSERT INTO ks.users (userid, firstname, lastname, age) "
"VALUES (550e8400-e29b-41d4-a716-446655440000, 'Frodo', 'Baggins', 32)")
"VALUES (550e8400-e29b-41d4-a716-446655440000, 'Frodo', 'Baggins', 32)",
cqlsh_options=['--request-timeout', '30'])
logger.debug(out)
assert 'Tracing session: ' in out

@@ -92,7 +93,8 @@ def trace(self, session):
# Queries
out, err, _ = node1.run_cqlsh('CONSISTENCY ALL; TRACING ON; '
'SELECT firstname, lastname '
'FROM ks.users WHERE userid = 550e8400-e29b-41d4-a716-446655440000')
'FROM ks.users WHERE userid = 550e8400-e29b-41d4-a716-446655440000',
cqlsh_options=['--request-timeout', '30'])
logger.debug(out)
assert 'Tracing session: ' in out

@@ -399,7 +399,7 @@ def init_default_config(self):
else:
repaired_data_tracking_values = {}

timeout = 15000
timeout = 30000
if self.cluster_options is not None and len(self.cluster_options) > 0:
values = merge_dicts(self.cluster_options, phi_values, repaired_data_tracking_values)
else:

0 comments on commit faf202c

Please sign in to comment.