mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
Increase retries for DebouncerFixture
(cherry picked from commit 78cf13d341e6690bf6079dd1819d060d002155a7)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using FluentAssertions;
|
using FluentAssertions;
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
@@ -21,7 +21,7 @@ namespace NzbDrone.Common.Test.TPLTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
[Retry(3)]
|
[Retry(10)]
|
||||||
public void should_hold_the_call_for_debounce_duration()
|
public void should_hold_the_call_for_debounce_duration()
|
||||||
{
|
{
|
||||||
var counter = new Counter();
|
var counter = new Counter();
|
||||||
@@ -39,7 +39,7 @@ namespace NzbDrone.Common.Test.TPLTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
[Retry(3)]
|
[Retry(10)]
|
||||||
public void should_throttle_calls()
|
public void should_throttle_calls()
|
||||||
{
|
{
|
||||||
var counter = new Counter();
|
var counter = new Counter();
|
||||||
@@ -63,7 +63,7 @@ namespace NzbDrone.Common.Test.TPLTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
[Retry(3)]
|
[Retry(10)]
|
||||||
public void should_hold_the_call_while_paused()
|
public void should_hold_the_call_while_paused()
|
||||||
{
|
{
|
||||||
var counter = new Counter();
|
var counter = new Counter();
|
||||||
@@ -97,7 +97,7 @@ namespace NzbDrone.Common.Test.TPLTests
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
[Retry(3)]
|
[Retry(10)]
|
||||||
public void should_handle_pause_reentrancy()
|
public void should_handle_pause_reentrancy()
|
||||||
{
|
{
|
||||||
var counter = new Counter();
|
var counter = new Counter();
|
||||||
|
|||||||
Reference in New Issue
Block a user