1
0
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:
Justin Baur
2025-11-19 10:34:44 -05:00
parent 8a3531e821
commit 11d8471fcd

View File

@@ -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"));