Use image lists instead of hardcoded images
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
@@ -26,12 +26,13 @@ import (
|
||||
. "github.com/containerd/containerd"
|
||||
"github.com/containerd/containerd/errdefs"
|
||||
"github.com/containerd/containerd/images"
|
||||
imagelist "github.com/containerd/containerd/integration/images"
|
||||
"github.com/containerd/containerd/platforms"
|
||||
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||
)
|
||||
|
||||
func TestImageIsUnpacked(t *testing.T) {
|
||||
const imageName = "k8s.gcr.io/pause:3.7"
|
||||
imageName := imagelist.PauseImage
|
||||
ctx, cancel := testContext(t)
|
||||
defer cancel()
|
||||
|
||||
@@ -137,7 +138,7 @@ func TestImageUsage(t *testing.T) {
|
||||
t.Skip()
|
||||
}
|
||||
|
||||
imageName := "k8s.gcr.io/pause:3.7"
|
||||
imageName := imagelist.PauseImage
|
||||
ctx, cancel := testContext(t)
|
||||
defer cancel()
|
||||
|
||||
|
Reference in New Issue
Block a user