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

Jaydeepkumar Chovatia commented on CASSANDRA-14526:
---------------------------------------------------

[~jay.zhuang] I was able to reproduce when I ran the test with count=10. I 
think I have found a problem and fix for it. With this fix I retried with 
{{count=50}} and it seems test is passing now.

 
{code:java}
python3 -m pytest --count=50  --cassandra-dir=~/cassandra/ 
secondary_indexes_test.py::TestPreJoinCallback::test_resume
...
...
==============================================================================================================
 50 passed in 4221.96 seconds 
===============================================================================================================

{code}
 

Following change I've made:
{code:java}
diff --git a/secondary_indexes_test.py b/secondary_indexes_test.py
index 9a9346d9..044c583d 100644
--- a/secondary_indexes_test.py
+++ b/secondary_indexes_test.py
@@ -1205,6 +1205,7 @@ class TestPreJoinCallback(Tester):
 
             node2.set_configuration_options(values=yaml_opts)
             node2.start(wait_other_notice=True, wait_for_binary_proto=False)
+            node2.watch_log_for('Some data streaming failed. Use nodetool to 
check bootstrap state and resume.')
 
             node2.nodetool("bootstrap resume")

{code}
 

I've updated the code, can you please retry? 
[https://github.com/apache/cassandra-dtest/compare/master...jaydeepkumar1984:14526-trunk]

 

 

> dtest to validate Cassandra state post failed/successful bootstrap
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-14526
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14526
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Test/dtest
>            Reporter: Jaydeepkumar Chovatia
>            Assignee: Jaydeepkumar Chovatia
>            Priority: Major
>              Labels: dtest
>
> Please find dtest here:
> || dtest ||
> | [patch 
> |https://github.com/apache/cassandra-dtest/compare/master...jaydeepkumar1984:14526-trunk]|



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to