[
https://issues.apache.org/jira/browse/SUREFIRE-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tibor Digana closed SUREFIRE-1379.
----------------------------------
Resolution: Won't Fix
Sorry we won't fix network issues.
Simply you can wait in method annotated by {{@Before}} and make dummy
connection and wait longer if connection fails again.
> 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)