Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Update e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
darkowlzz committed Sep 6, 2020
1 parent 8a5d397 commit b4d6a12
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions e2e/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ func runWithRuntimeAndNetworkPlugin(t *testing.T, vmName, runtime, networkPlugin
igniteCmd := util.NewCommand(t, igniteBin)

defer igniteCmd.New().
WithRuntime(runtime).
WithNetwork(networkPlugin).
With("rm", "-f").
With(vmName).
Run()
Expand Down Expand Up @@ -73,8 +71,6 @@ func runCurl(t *testing.T, vmName, runtime, networkPlugin string) {
igniteCmd := util.NewCommand(t, igniteBin)

defer igniteCmd.New().
WithRuntime(runtime).
WithNetwork(networkPlugin).
With("rm", "-f", vmName).
Run()

Expand Down
6 changes: 0 additions & 6 deletions e2e/run_volume_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ func runVolume(t *testing.T, vmName, runtime, networkPlugin string) {

// Clean-up the following VM.
defer igniteCmd.New().
WithRuntime(runtime).
WithNetwork(networkPlugin).
With("rm", "-f", vmName).
Run()

Expand All @@ -97,17 +95,13 @@ func runVolume(t *testing.T, vmName, runtime, networkPlugin string) {

// Stop the vm without force.
igniteCmd.New().
WithRuntime(runtime).
WithNetwork(networkPlugin).
With("stop", vmName).
Run()

secondVMName := vmName + "_2"

// Clean-up the following VM.
defer igniteCmd.New().
WithRuntime(runtime).
WithNetwork(networkPlugin).
With("rm", "-f", secondVMName).
Run()

Expand Down

0 comments on commit b4d6a12

Please sign in to comment.