Use image lists in client tests
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
@@ -22,6 +22,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/containerd/containerd/integration/images"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
runtime "k8s.io/cri-api/pkg/apis/runtime/v1"
|
||||
@@ -42,7 +43,7 @@ func TestSharedPidMultiProcessContainerStop(t *testing.T) {
|
||||
}()
|
||||
|
||||
var (
|
||||
testImage = GetImage(BusyBox)
|
||||
testImage = images.Get(images.BusyBox)
|
||||
containerName = "test-container"
|
||||
)
|
||||
|
||||
@@ -79,7 +80,7 @@ func TestContainerStopCancellation(t *testing.T) {
|
||||
sb, sbConfig := PodSandboxConfigWithCleanup(t, "sandbox", "cancel-container-stop")
|
||||
|
||||
var (
|
||||
testImage = GetImage(BusyBox)
|
||||
testImage = images.Get(images.BusyBox)
|
||||
containerName = "test-container"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user