mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-03 23:33:58 +00:00
Fixed: Retry flaky tests 3 times before failure
This commit is contained in:
@@ -104,6 +104,7 @@ namespace NzbDrone.Common.Test.CacheTests
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Retry(3)]
|
||||
public void should_clear_expired_when_they_expire()
|
||||
{
|
||||
int hitCount = 0;
|
||||
|
||||
@@ -84,6 +84,7 @@ namespace NzbDrone.Common.Test
|
||||
|
||||
[Test]
|
||||
[Platform(Exclude="MacOsX")]
|
||||
[Retry(3)]
|
||||
public void exists_should_find_running_process()
|
||||
{
|
||||
var process = StartDummyProcess();
|
||||
@@ -132,6 +133,7 @@ namespace NzbDrone.Common.Test
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Retry(3)]
|
||||
public void ToString_on_new_processInfo()
|
||||
{
|
||||
Console.WriteLine(new ProcessInfo().ToString());
|
||||
|
||||
Reference in New Issue
Block a user