mirror of
https://github.com/bitwarden/server
synced 2025-12-26 13:13:24 +00:00
Maybe fix flaky test
This commit is contained in:
@@ -89,7 +89,7 @@ public class LoggerFactoryExtensionsTests
|
||||
logger.LogWarning("This is a test");
|
||||
|
||||
// Writing to the file is buffered, give it a little time to flush
|
||||
await Task.Delay(5);
|
||||
await Task.Delay(50, TestContext.Current.CancellationToken);
|
||||
|
||||
var logFile = Assert.Single(tempDir.EnumerateFiles("Logs/*.log"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user