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

[jira] [Commented] (CASSANDRA-16662) Move CASSANDRA-14559s bootstrap_test.py::TestBootstrap::test_node_cannot_join_as_hibernating_node_without_replace_address into a jvm-dtest

    [ https://issues.apache.org/jira/browse/CASSANDRA-16662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17341077#comment-17341077 ] 

David Capwell commented on CASSANDRA-16662:
-------------------------------------------

[~stefan.miklosovic] would you mind taking a look?  If you are cool with this patch I can disable the python dtest from running.

One of the reasons I wrote this was that I found the python test to be flaky; the reason was that the shutdown of "replacement" is based off logs and doesn't deterministically trigger the condition its trying to hit; which lead to passing tests on a branch which didn't have the test.  This patch uses byte code rewriting to enforce the condition making it a bit more stable.

> Move CASSANDRA-14559s bootstrap_test.py::TestBootstrap::test_node_cannot_join_as_hibernating_node_without_replace_address into a jvm-dtest
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16662
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16662
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Test/dtest/java, Test/dtest/python
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>
> In debugging an issue I ended up porting bootstrap_test.py::TestBootstrap::test_node_cannot_join_as_hibernating_node_without_replace_address into a jvm-dtest, it would be good to move away from the python dtest in favor of a jvm-dtest



--
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