mirror of
https://github.com/microsoft/WSL.git
synced 2026-04-20 12:54:13 -05:00
Fix race condition in ContainerLogs test case (#40052)
This commit is contained in:
@@ -5262,6 +5262,7 @@ class WSLCTests
|
||||
WSLCContainerLauncher launcher("debian:latest", "logs-test-3", {"/bin/bash", "-c", "echo -n OK"});
|
||||
auto container = launcher.Launch(*m_defaultSession);
|
||||
auto initProcess = container.GetInitProcess();
|
||||
ValidateProcessOutput(initProcess, {{1, "OK"}});
|
||||
|
||||
wil::unique_handle stdoutLogs;
|
||||
wil::unique_handle stderrLogs;
|
||||
|
||||
Reference in New Issue
Block a user