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>
Ben Hillis committed
Apr 10, 2026 at 17:39 UTC
d718a6ba3d4548ca6b238b00f103d30284beb282
1 file changed
+1
-2
test/windows/MountTests.cpp
+1
-2
@@ -438,10 +438,9 @@ class MountTests
438
VERIFY_ARE_EQUAL(LxsstuLaunchWsl(L"--unmount " + absolutePath.wstring()), (DWORD)0);
439
}
440
441
- TEST_METHOD(AbsolutePathVhdUnmountAfterVMTimeout)
441
+ WSL2_TEST_METHOD(AbsolutePathVhdUnmountAfterVMTimeout)
442
{
443
SKIP_UNSUPPORTED_ARM64_MOUNT_TEST();
444
- WSL2_TEST_ONLY();
444
445
WslKeepAlive keepAlive;
446