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

Stefan Miklosovic commented on CASSANDRA-18942:
-----------------------------------------------

When I do this

{code}
 .build/run-tests-enhanced.sh -a jvm-dtest-repeat -e REPEATED_TESTS_COUNT=100 
-e REPEATED_TESTS=org.apache.cassandra.distributed.test.ClearSnapshotTest
{code}

When I change my mind after 10th test and I do "ctrl+c", I have to do that 90 
times. That is because "ctrl+c" will cancel just the very test it just runs but 
it continues in the loop. Can not we somehow break the loop?

Also, how can I run just one method? I tried this:

{code}
-e 
REPEATED_TESTS=org.apache.cassandra.distributed.test.ClearSnapshotTest.clearSnapshotSlowTest
'-e 
REPEATED_TESTS=org.apache.cassandra.distributed.test.ClearSnapshotTest.clearSnapshotSlowTest'
-e 
REPEATED_TESTS=org.apache.cassandra.distributed.test.ClearSnapshotTest#clearSnapshotSlowTest
'-e 
REPEATED_TESTS=org.apache.cassandra.distributed.test.ClearSnapshotTest#clearSnapshotSlowTest'
{code}

none of them seems to work or maybe I just messed it up?

> Repeatable test runs
> --------------------
>
>                 Key: CASSANDRA-18942
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18942
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Build, CI
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 5.0, 5.0.x
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> It is our policy to loop new introduced tests to avoid introducing flakies. 
> We also want to add the possibility to repeat a test N number of times to 
> test robustness, debug flakies, etc.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to