Auto stash before merge of "main" and "origin/main"
This commit is contained in:
parent
104187fcac
commit
33912cf4ef
9 changed files with 226 additions and 50 deletions
|
|
@ -52,19 +52,10 @@ namespace PlanTempus.Tests.Logging
|
|||
// wait for processing
|
||||
await Task.Delay(5000);
|
||||
|
||||
//_cts.Cancel();
|
||||
await _service.StopAsync(CancellationToken.None);
|
||||
|
||||
|
||||
bool hasMoreMessages = await _messageChannel.Reader.WaitToReadAsync();
|
||||
Assert.IsFalse(hasMoreMessages, "Queue should be empty after 5 seconds");
|
||||
}
|
||||
|
||||
|
||||
[TestCleanup]
|
||||
public void Cleanup()
|
||||
{
|
||||
_cts?.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue