diff --git a/e2e/vm/vm_darwin_test.go b/e2e/vm/vm_darwin_test.go index f756a30cf..3d7206ad8 100644 --- a/e2e/vm/vm_darwin_test.go +++ b/e2e/vm/vm_darwin_test.go @@ -48,6 +48,7 @@ func TestVM(t *testing.T) { time.Sleep(1 * time.Second) command.New(o, "vm", "remove", "-f").WithoutCheckingExitCode().WithTimeoutInSeconds(20).Run() time.Sleep(1 * time.Second) + resetDisks(o, *e2e.Installed) }, func() {}) ginkgo.AfterEach(func() { diff --git a/e2e/vm/vm_windows_test.go b/e2e/vm/vm_windows_test.go index 5831388c5..2098483d5 100644 --- a/e2e/vm/vm_windows_test.go +++ b/e2e/vm/vm_windows_test.go @@ -36,8 +36,9 @@ func TestVM(t *testing.T) { }, func(_ []byte) {}) ginkgo.SynchronizedAfterSuite(func() { - command.New(o, "vm", "stop").WithTimeoutInSeconds(90).Run() - command.New(o, "vm", "remove").WithTimeoutInSeconds(60).Run() + command.New(o, "vm", "stop", "-f").WithTimeoutInSeconds(90).Run() + command.New(o, "vm", "remove", "-f").WithTimeoutInSeconds(60).Run() + resetDisks(o, *e2e.Installed) }, func() {}) ginkgo.Describe("", func() {