Signed-off-by: Vincent Demeester <vincent@sbr.pm>
| ... | ... |
@@ -9,7 +9,6 @@ import ( |
| 9 | 9 |
"time" |
| 10 | 10 |
|
| 11 | 11 |
"github.com/docker/docker/api/types" |
| 12 |
- "github.com/docker/docker/api/types/volume" |
|
| 13 | 12 |
"github.com/docker/docker/integration/internal/container" |
| 14 | 13 |
"github.com/docker/docker/internal/test/daemon" |
| 15 | 14 |
"github.com/gotestyourself/gotestyourself/assert" |
| ... | ... |
@@ -30,10 +29,6 @@ func TestContinueAfterPluginCrash(t *testing.T) {
|
| 30 | 30 |
cancel() |
| 31 | 31 |
defer client.PluginRemove(context.Background(), "test", types.PluginRemoveOptions{Force: true})
|
| 32 | 32 |
|
| 33 |
- v, err := client.VolumeCreate(context.Background(), volume.VolumesCreateBody{})
|
|
| 34 |
- assert.Assert(t, err) |
|
| 35 |
- defer client.VolumeRemove(context.Background(), v.Name, true) |
|
| 36 |
- |
|
| 37 | 33 |
ctx, cancel = context.WithTimeout(context.Background(), 60*time.Second) |
| 38 | 34 |
|
| 39 | 35 |
id := container.Run(t, ctx, client, |