Revert "test: enable virtiofs tests and enable WSLG during testing (#14387)" (#14538)
* Revert "test: enable virtiofs tests and enable WSLG during testing (#14387)" * enable wslg for SystemdNoClearTmpUnit test --------- Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
Ben Hillis committed
Mar 26, 2026 at 17:50 UTC
bf759a092be8ed481dce70bf4f01f16c1b9b54a8
2 files changed
+6
-1
test/windows/Common.cpp
+3
-1
@@ -1450,6 +1450,8 @@ std::wstring LxssGenerateTestConfig(TestConfigDefaults Default)
1450
return value;
1451
};
1452
1453
+ // TODO: Reset guiApplications to true by default once the virtio hang is solved.
1454
+
1455
std::wstring newConfig =
1456
L"[wsl2]\n"
1457
L"crashDumpFolder=" +
@@ -1462,7 +1464,7 @@ std::wstring LxssGenerateTestConfig(TestConfigDefaults Default)
1464
EscapePath(kernelLogs) +
1465
L"\n"
1466
L"telemetry=false\n" +
1465
- boolOptionToString(L"safeMode", Default.safeMode, false) + boolOptionToString(L"guiApplications", Default.guiApplications, true) +
1467
+ boolOptionToString(L"safeMode", Default.safeMode, false) + boolOptionToString(L"guiApplications", Default.guiApplications, false) +
1468
L"earlyBootLogging=false\n" + networkingModeToString(Default.networkingMode) + drvFsModeToString(Default.drvFsMode);
1469
1470
if (Default.kernel.has_value())
test/windows/UnitTests.cpp
+3
@@ -339,6 +339,9 @@ class UnitTests
339
{
340
WSL2_TEST_ONLY();
341
342
+ // The X11 socket is only created when gui applications are enabled.
343
+ WslConfigChange config(LxssGenerateTestConfig({.guiApplications = true}));
344
+
345
// ensures that we don't leave state on exit
346
auto cleanup = EnableSystemd("initTimeout=0");
347