You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tomasz Lasica (Jira)" <ji...@apache.org> on 2021/01/19 08:46:00 UTC

[jira] [Created] (CASSANDRA-16395) Increate node start timeout for selected bootstrap and replace node tests

Tomasz Lasica created CASSANDRA-16395:
-----------------------------------------

             Summary: Increate node start timeout for selected bootstrap and replace node tests
                 Key: CASSANDRA-16395
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16395
             Project: Cassandra
          Issue Type: Improvement
          Components: Test/dtest/python
            Reporter: Tomasz Lasica
            Assignee: Tomasz Lasica


*Summary*

Node start timeouts should be explicitly extended to more than default 90s (boostrap with reset state, replace node tests) because the default 90s will start to work after ccm changes.

*Why we need this change*

There is a bug in [https://github.com/riptano/ccm] that node.start() timeout (or more precisely node.wait_for_binary_proto() timeout is in practice 600s. This is the time to wait for certain log message:

[https://github.com/riptano/ccm/blob/484476494bda6d71f895826358722a7b1c47a3cf/ccmlib/node.py#L642|https://github.com/riptano/ccm/blob/cassandra-test/ccmlib/node.py#L642]

This bug will be fixed by: [https://github.com/riptano/ccm/pull/725]

*Proposed improvement*

Explicitly raise node start timeout to 120s or 180s (depending on the scenario) by using existing `Node` api to provide timeout as int (in seconds) instead of bool.

Note that this is available after [https://github.com/riptano/ccm/pull/725] is merged but should not break test logic before it is merged.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org