Update image references for Windows tests

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko 2022-07-25 11:04:59 -07:00
parent 2ae5f405d2
commit a9514da757
3 changed files with 6 additions and 2 deletions

View File

@ -26,6 +26,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"
@ -41,7 +42,7 @@ func TestWindowsDevice(t *testing.T) {
var (
// TODO: An image with the device-dumper
testImage = GetImage(BusyBox)
testImage = images.Get(images.BusyBox)
containerName = "test-container"
)

View File

@ -24,6 +24,7 @@ import (
"os"
"testing"
"github.com/containerd/containerd/integration/images"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
@ -37,6 +38,7 @@ var (
// Tests to verify the Windows HostProcess
func TestWindowsHostProcess(t *testing.T) {
pauseImage := images.PauseImage
EnsureImageExists(t, pauseImage)
t.Run("run as Local Service", func(t *testing.T) {

View File

@ -28,6 +28,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 TestWindowsRootfsSize(t *testing.T) {
)
var (
testImage = GetImage(Pause)
testImage = images.Get(images.Pause)
containerName = "test-container"
)