Skip the ImportImage() test on server SKUs (#40440)

ImportImage hits the same hang on Windows Server SKUs that LoadImage was skipped for in #40350. Mirror that workaround here. Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Ben Hillis committed May 6, 2026 at 12:02 UTC 29176ed6c205b4681356d607725d67d0064fb683
1 file changed +7
test/windows/WSLCTests.cpp
+7
@@ -1126,6 +1126,13 @@ class WSLCTests
1126
1127 WSLC_TEST_METHOD(ImportImage)
1128 {
1129 + // This test case is hanging on Windows Server SKUs. Skip the test until the issue is resolved.
1130 + // TODO: Remove once the fix is available.
1131 + if (IsWindowsServer())
1132 + {
1133 + SKIP_TEST_UNSTABLE();
1134 + }
1135 +
1136 auto cleanup =
1137 wil::scope_exit([&]() { LOG_IF_FAILED(DeleteImageNoThrow("my-hello-world:test", WSLCDeleteImageFlagsNone).first); });
1138