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

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

Ha! I was thinking along the same lines but for some reason it didn't occur to 
me as you did it which is super-nice imo. This is great as it is completely 
Runner agnostic and non-invasive. Also I think junit5 repeats at the method 
level not a _class_ level.

What we have is good but I want to linger here a bit more and see if I can 
somehow avoid having to decorate a class with Runners. Like call a Runner 
programmatically and pass the test class as a param...

> 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