Use image lists in client tests
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
@@ -21,6 +21,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/containerd/containerd/integration/images"
|
||||
"github.com/stretchr/testify/require"
|
||||
exec "golang.org/x/sys/execabs"
|
||||
runtime "k8s.io/cri-api/pkg/apis/runtime/v1"
|
||||
@@ -28,7 +29,7 @@ import (
|
||||
|
||||
// Test to load an image from tarball.
|
||||
func TestImageLoad(t *testing.T) {
|
||||
testImage := GetImage(BusyBox)
|
||||
testImage := images.Get(images.BusyBox)
|
||||
loadedImage := testImage
|
||||
_, err := exec.LookPath("docker")
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user