This is an automated email from the ASF dual-hosted git repository. jlewandowski pushed a commit to branch ds-trunk-5.0--2024-07-24 in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git
commit a0940e67845be5843c6badb4c6e0741841594af4 Author: Jacek Lewandowski <[email protected]> AuthorDate: Tue Mar 22 10:57:15 2022 +0100 STAR-386: Increase client timeout (#56) (cherry picked from commit 4fc6bbc995ad466b2db1eb79d9221b1838e4f89b) (cherry picked from commit 321c7ff0b9d7755eeafdecc99e828c9218aade5f) (cherry picked from commit 24fea6b123e2002a9eb137bb767821af049e1b58) (cherry picked from commit f8dda73f3f7a52922a94afa594562436d2347a14) --- bootstrap_test.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bootstrap_test.py b/bootstrap_test.py index a9b72094..e9d6ac0e 100644 --- a/bootstrap_test.py +++ b/bootstrap_test.py @@ -894,6 +894,12 @@ class BootstrapTester(Tester): " cannot bootstrap while cassandra.consistent.rangemovement is true" cluster = self.cluster + configuration_options = { + 'request_timeout_in_ms': 120000, + 'read_request_timeout_in_ms': 120000, + 'range_request_timeout_in_ms': 120000 + } + cluster.set_configuration_options(configuration_options) cluster.set_environment_variable('CASSANDRA_TOKEN_PREGENERATION_DISABLED', 'True') cluster.populate(1) cluster.start() @@ -929,8 +935,10 @@ class BootstrapTester(Tester): # bugs like 9484, where count(*) fails at higher # data loads. for _ in range(5): + logger.info("Querying: SELECT count(*) from keyspace1.standard1") # Improve reliability for slower/loaded test systems by using larger client timeout - assert_one(session, "SELECT count(*) from keyspace1.standard1", [500000], cl=ConsistencyLevel.ONE, timeout=30) + assert_one(session, "SELECT count(*) from keyspace1.standard1", [500000], cl=ConsistencyLevel.ONE, timeout=180) + logger.info("Querying completed") def test_cleanup(self): """ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
