mirror of
https://github.com/Readarr/Readarr
synced 2025-12-17 22:03:05 +01: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 @@ public void should_honor_ttl()
|
|||
}
|
||||
|
||||
[Test]
|
||||
[Retry(3)]
|
||||
public void should_clear_expired_when_they_expire()
|
||||
{
|
||||
int hitCount = 0;
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ public void should_be_able_to_start_process()
|
|||
|
||||
[Test]
|
||||
[Platform(Exclude="MacOsX")]
|
||||
[Retry(3)]
|
||||
public void exists_should_find_running_process()
|
||||
{
|
||||
var process = StartDummyProcess();
|
||||
|
|
@ -132,6 +133,7 @@ private Process StartDummyProcess()
|
|||
}
|
||||
|
||||
[Test]
|
||||
[Retry(3)]
|
||||
public void ToString_on_new_processInfo()
|
||||
{
|
||||
Console.WriteLine(new ProcessInfo().ToString());
|
||||
|
|
|
|||
Loading…
Reference in a new issue