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/27 21:30:00 UTC
[jira] [Commented] (CASSANDRA-16405) Handle both TimeoutError and
NodeError when expecting node start failure
[ https://issues.apache.org/jira/browse/CASSANDRA-16405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17273151#comment-17273151 ]
Tomasz Lasica commented on CASSANDRA-16405:
-------------------------------------------
Started:
trunk [https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/334/ |https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/334/]
[cassandra-3.11 https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/335/|https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/334/]
> 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.2.20, 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*
> TODO
>
--
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