TestBuildMultiStageParentConfig: remove unneeded sleep and ImageList call
| ... | ... |
@@ -9,7 +9,6 @@ import ( |
| 9 | 9 |
"io/ioutil" |
| 10 | 10 |
"strings" |
| 11 | 11 |
"testing" |
| 12 |
- "time" |
|
| 13 | 12 |
|
| 14 | 13 |
"github.com/docker/docker/api/types" |
| 15 | 14 |
"github.com/docker/docker/api/types/filters" |
| ... | ... |
@@ -168,12 +167,6 @@ func TestBuildMultiStageParentConfig(t *testing.T) {
|
| 168 | 168 |
resp.Body.Close() |
| 169 | 169 |
assert.NilError(t, err) |
| 170 | 170 |
|
| 171 |
- time.Sleep(30 * time.Second) |
|
| 172 |
- |
|
| 173 |
- imgs, err := apiclient.ImageList(ctx, types.ImageListOptions{})
|
|
| 174 |
- assert.NilError(t, err) |
|
| 175 |
- t.Log(imgs) |
|
| 176 |
- |
|
| 177 | 171 |
image, _, err := apiclient.ImageInspectWithRaw(ctx, "build1") |
| 178 | 172 |
assert.NilError(t, err) |
| 179 | 173 |
|