Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16395

Increase node start timeout for selected bootstrap and replace node tests

    XMLWordPrintableJSON

    Details

      Description

      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

      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.

      PR

      https://github.com/apache/cassandra-dtest/pull/113/files

       

        Attachments

          Activity

            People

            • Assignee:
              tomasz.lasica Tomasz Lasica
              Reporter:
              tomasz.lasica Tomasz Lasica
              Authors:
              Tomasz Lasica
              Reviewers:
              Michael Semb Wever
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h