forked from Manuel/meeting-assistant
test: stabilize summary retry background wait
This commit is contained in:
@@ -189,7 +189,9 @@ public sealed class MeetingSummaryRetryRunnerTests
|
||||
return;
|
||||
}
|
||||
|
||||
await stateChanged.Task.WaitAsync(TimeSpan.FromMilliseconds(100));
|
||||
await Task.WhenAny(
|
||||
stateChanged.Task,
|
||||
Task.Delay(TimeSpan.FromMilliseconds(100)));
|
||||
}
|
||||
|
||||
throw new TimeoutException($"Expected {count} state changes.");
|
||||
|
||||
Reference in New Issue
Block a user