mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Retry flaky tests 3 times before failure
This commit is contained in:
parent
fbe6143c6f
commit
bcc6fae9cc
2 changed files with 3 additions and 0 deletions
|
@ -104,6 +104,7 @@ namespace NzbDrone.Common.Test.CacheTests
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
[Retry(3)]
|
||||||
public void should_clear_expired_when_they_expire()
|
public void should_clear_expired_when_they_expire()
|
||||||
{
|
{
|
||||||
int hitCount = 0;
|
int hitCount = 0;
|
||||||
|
|
|
@ -84,6 +84,7 @@ namespace NzbDrone.Common.Test
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
[Platform(Exclude="MacOsX")]
|
[Platform(Exclude="MacOsX")]
|
||||||
|
[Retry(3)]
|
||||||
public void exists_should_find_running_process()
|
public void exists_should_find_running_process()
|
||||||
{
|
{
|
||||||
var process = StartDummyProcess();
|
var process = StartDummyProcess();
|
||||||
|
@ -132,6 +133,7 @@ namespace NzbDrone.Common.Test
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
[Retry(3)]
|
||||||
public void ToString_on_new_processInfo()
|
public void ToString_on_new_processInfo()
|
||||||
{
|
{
|
||||||
Console.WriteLine(new ProcessInfo().ToString());
|
Console.WriteLine(new ProcessInfo().ToString());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue