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

Commit

Permalink
Run lifecycle and volume tests with --debug
Browse files Browse the repository at this point in the history
Work around #679,
which appears to be caused by a race condition inside Docker.

(This change leaves a few dead containers lying around after the test).
  • Loading branch information
bboreham committed Jan 15, 2021
1 parent 08493ac commit 6cd5907
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/run_volume_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func runVolume(t *testing.T, vmName, runtime, networkPlugin string) {
WithRuntime(runtime).
WithNetwork(networkPlugin).
With("run").
With("--debug"). // work around https://github.com/weaveworks/ignite/issues/679 (leaves dead container after)
With("--name=" + vmName).
With("--ssh").
With("--volumes=" + loopPath + ":/my-vol").
Expand Down Expand Up @@ -110,6 +111,7 @@ func runVolume(t *testing.T, vmName, runtime, networkPlugin string) {
WithRuntime(runtime).
WithNetwork(networkPlugin).
With("run").
With("--debug"). // work around https://github.com/weaveworks/ignite/issues/679 (leaves dead container after)
With("--name=" + secondVMName).
With("--ssh").
With("--volumes=" + loopPath + ":/my-vol").
Expand Down
1 change: 1 addition & 0 deletions e2e/vm_lifecycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func runVMLifecycle(t *testing.T, vmName, runtime, networkPlugin string) {
WithRuntime(runtime).
WithNetwork(networkPlugin).
With("run").
With("--debug"). // work around https://github.com/weaveworks/ignite/issues/679 (leaves dead container after)
With("--name=" + vmName).
With("--ssh").
With(util.DefaultVMImage).
Expand Down

0 comments on commit 6cd5907

Please # to comment.