зеркало из https://github.com/microsoft/docker.git
Fix TestBuildCacheADD to check cache in out, not in id
Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
This commit is contained in:
Родитель
887d9238f5
Коммит
21dff8cbec
|
@ -31,7 +31,7 @@ func TestBuildCacheADD(t *testing.T) {
|
||||||
true); err != nil {
|
true); err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
out, _, err := buildImageWithOut(name,
|
_, out, err := buildImageWithOut(name,
|
||||||
fmt.Sprintf(`FROM scratch
|
fmt.Sprintf(`FROM scratch
|
||||||
ADD %s/index.html /`, server.URL),
|
ADD %s/index.html /`, server.URL),
|
||||||
true)
|
true)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче