Fix race condition in ContainerRecoveryFromStorage test case (#40703)

Blue committed Jun 5, 2026 at 12:41 UTC fd800d0fc7eddfa93af4d4fe35062afc5ec69515
1 file changed +1 -1
test/windows/WSLCTests.cpp
+1 -1
@@ -7937,7 +7937,7 @@ class WSLCTests
7937 auto session = CreateSession(GetDefaultSessionSettings(L"recovery-test", true));
7938
7939 // Create and start a container
7940 - WSLCContainerLauncher launcher("debian:latest", containerName.c_str(), {"/bin/echo", "OK"});
7940 + WSLCContainerLauncher launcher("debian:latest", containerName.c_str(), {"sleep", "9999"});
7941
7942 auto container = launcher.Launch(*session);
7943 container.SetDeleteOnClose(false);