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

Tibor Digana commented on SUREFIRE-1379:
----------------------------------------

[~gilberto.torrezan]
Look you have connectivity problem and it was not only example.
You have to fix it in your company.
Nobody wants to slow down tests. It's enough to put delay in before method.
I do not think surefire helps because once the delay is short you need a code 
to depend delay upon connectivity and we won't do that for you in such case.

> When rerunning failed tests, I want to be able to set a delay between each 
> attempt, so the whole test suite doesn't fail due to a connection problem to 
> 3rd party services.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1379
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1379
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Failsafe Plugin
>    Affects Versions: 2.20
>            Reporter: Gilberto Torrezan
>            Assignee: Tibor Digana
>
> Some of my integration tests require access to 3rd party services that run in 
> other machines, and sometimes those services stop responding due to network 
> problems.
> I want to be able to  set a delay between each attempt to rerun a failed 
> test, instead of rerunning everything in the same second, so tests that fail 
> due to connection problems can have better chances of succeed.
> Waiting 5 seconds between attempts, in my case, is way cheaper than rerunning 
> everything again.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to