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

Berenguer Blasi commented on CASSANDRA-16654:
---------------------------------------------

[~adelapena] your proposal sounds great. I modified it a bit to have a param 
for the runner for the number of repetitions. Sounds most convenient imo wdyt?. 
Please check the [4.0 PR|https://github.com/apache/cassandra/pull/1006] not the 
trunk one for the final version. {{DirectoriesTest}} modifications are not part 
of the PR, I left it there just for your convenience to test it.

> Junit RepeatableRunner flaky tests helper
> -----------------------------------------
>
>                 Key: CASSANDRA-16654
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16654
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 4.0-rc2, 4.0, 4.1
>
>
> Some flakies only fail when the full suite is ran. If it's a quick test you 
> can do thousands of runs if a few seconds. Looping at the sh level is not an 
> option as every loop takes a few seconds.
> As I have found this very useful I am proposing committing it



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

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

Reply via email to