[ 
https://issues.apache.org/jira/browse/CASSANDRA-16405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Semb Wever updated CASSANDRA-16405:
-------------------------------------------
          Fix Version/s:     (was: 4.0-beta)
                             (was: 3.11.x)
                             (was: 3.0.x)
                             (was: 2.2.x)
                         4.0
                         4.0-beta5
                         3.11.10
                         3.0.24
                         2.1.23
    Source Control Link: 
https://github.com/apache/cassandra-dtest/commit/2a721e7b058025f42f8b86c8a2ecd851c2790f00
 
https://github.com/apache/cassandra-dtest/commit/ebb59dd7cf0c4fb4a9d9135cf6442e59c109de31
 https://github.com/riptano/ccm/commit/89af9303b9edad55f02883170fc1e100065c
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

> Handle both TimeoutError and NodeError when expecting node start failure
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16405
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16405
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Test/dtest/python
>            Reporter: Tomasz Lasica
>            Assignee: Tomasz Lasica
>            Priority: Low
>             Fix For: 2.1.23, 3.0.24, 3.11.10, 4.0-beta5, 4.0
>
>
> *Summary*
> Some tests are validating situation, when node (or cluster) does not start 
> correctly.
> They rely on `TimeoutError` to be raised, but technically it is also possible 
> that `ccm` will raise `NodeError` without waiting for timeout to be met.
> *Why we need this change*
> We can improve `ccm` to fail fast in case node being started terminates. This 
> would:
>  * make unexpected test failures faster to fail (not waiting 90 or 120s)
>  * shorten overall test duration, even if timeout is given
> ccm work (in progress): [https://github.com/riptano/ccm/pull/724]
> *Proposed improvement*
> Handle both TimeoutError and NodeError as expected node failure.
> *PR*
> https://github.com/apache/cassandra-dtest/pull/120
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to