Skip to content

Commit d718a6b

Browse files
benhillisBen HillisCopilot
authored
Fix mount test build: use WSL2_TEST_METHOD macro for AbsolutePathVhdUnmountAfterVMTimeout (#40162)
Replace raw TEST_METHOD + WSL2_TEST_ONLY() with WSL2_TEST_METHOD macro, consistent with the refactor in #40140. Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 813070c commit d718a6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/windows/MountTests.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,10 +438,9 @@ class MountTests
438438
VERIFY_ARE_EQUAL(LxsstuLaunchWsl(L"--unmount " + absolutePath.wstring()), (DWORD)0);
439439
}
440440

441-
TEST_METHOD(AbsolutePathVhdUnmountAfterVMTimeout)
441+
WSL2_TEST_METHOD(AbsolutePathVhdUnmountAfterVMTimeout)
442442
{
443443
SKIP_UNSUPPORTED_ARM64_MOUNT_TEST();
444-
WSL2_TEST_ONLY();
445444

446445
WslKeepAlive keepAlive;
447446

0 commit comments

Comments
 (0)