Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosNihelton committed Dec 16, 2024
1 parent 59ef84b commit 29f3902
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/launchertester/basic_setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ func TestSetupWithCloudInit(t *testing.T) {
if tc.withWSL1 {
require.NoError(t, exec.Command("wsl.exe", "--set-default-version", "1").Run(), "Setup: Cannot set WSL1 as default version")
t.Cleanup(func() {
require.NoError(t, exec.Command("wsl.exe", "--set-default-version", "2").Run(), "Setup: Cannot set WSL2 as default version")
t.Log("Cleaning up: Setting WSL2 back as default version")
require.NoError(t, exec.Command("wsl.exe", "--set-default-version", "2").Run(), "Setup: Cannot set WSL2 back as default version")
})
}
wslSetup(t)
Expand Down

0 comments on commit 29f3902

Please sign in to comment.