Skip to content

Commit 64032f7

Browse files
committed
100ms delay for on push error test
1 parent b2c4674 commit 64032f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/MetricPusherHostedServiceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public async Task OnPushError_HandlesException()
4949
var hostedService = new TestableMetricPusherHostedService(pusher);
5050

5151
await hostedService.StartAsync(ct);
52-
await Task.Delay(GetDelay(1), ct);
52+
await Task.Delay(100, ct);
5353
await hostedService.StopAsync(ct);
5454

5555
hostedService.ErrorHandled.Should().BeTrue();

0 commit comments

Comments
 (0)