You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by bl...@apache.org on 2020/08/26 15:26:49 UTC
[cassandra-dtest] branch master updated: Increase several timeouts
on test failures
This is an automated email from the ASF dual-hosted git repository.
blerer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git
The following commit(s) were added to refs/heads/master by this push:
new faf202c Increase several timeouts on test failures
faf202c is described below
commit faf202c6c377a875a2c52ee971436c14962d1132
Author: Bereng <be...@gmail.com>
AuthorDate: Mon Aug 24 17:19:45 2020 +0200
Increase several timeouts on test failures
patch by Berenguer Blasi; reviewed by Benjamin Lerer for CASSANDRA-16073
---
cql_tracing_test.py | 6 ++++--
dtest_setup.py | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/cql_tracing_test.py b/cql_tracing_test.py
index fa6d4b8..cb3805a 100644
--- a/cql_tracing_test.py
+++ b/cql_tracing_test.py
@@ -78,7 +78,8 @@ class TestCqlTracing(Tester):
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 @@ class TestCqlTracing(Tester):
# 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
diff --git a/dtest_setup.py b/dtest_setup.py
index 5688604..e9bb74a 100644
--- a/dtest_setup.py
+++ b/dtest_setup.py
@@ -399,7 +399,7 @@ class DTestSetup(object):
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:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org