1 parent ba00aad commit 6611864Copy full SHA for 6611864
1 file changed
tests/DotLuxafor.Tests/LuxaforHostedServiceTests.cs
@@ -175,9 +175,9 @@ public async Task ExecuteAsync_WhenTryOpenThrows_LogsAndContinues()
175
var service = CreateService(options);
176
177
using var cts = CancellationTokenSource.CreateLinkedTokenSource(ct);
178
- cts.CancelAfter(TimeSpan.FromMilliseconds(500));
+ cts.CancelAfter(TimeSpan.FromSeconds(5));
179
await service.StartAsync(cts.Token);
180
- await Task.Delay(400, ct);
+ await Task.Delay(2000, ct);
181
await service.StopAsync(ct);
182
183
// Should have retried past the throwing calls
0 commit comments