mirror of
https://github.com/microsoft/WSL.git
synced 2026-04-13 00:55:42 -05:00
Fix mount test build: use WSL2_TEST_METHOD macro for AbsolutePathVhdUnmountAfterVMTimeout
Replace raw TEST_METHOD + WSL2_TEST_ONLY() with WSL2_TEST_METHOD macro, consistent with the refactor in #40140. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -438,10 +438,9 @@ class MountTests
|
||||
VERIFY_ARE_EQUAL(LxsstuLaunchWsl(L"--unmount " + absolutePath.wstring()), (DWORD)0);
|
||||
}
|
||||
|
||||
TEST_METHOD(AbsolutePathVhdUnmountAfterVMTimeout)
|
||||
WSL2_TEST_METHOD(AbsolutePathVhdUnmountAfterVMTimeout)
|
||||
{
|
||||
SKIP_UNSUPPORTED_ARM64_MOUNT_TEST();
|
||||
WSL2_TEST_ONLY();
|
||||
|
||||
WslKeepAlive keepAlive;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user