Update image references for Windows tests
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
parent
2ae5f405d2
commit
a9514da757
@ -26,6 +26,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/containerd/containerd/integration/images"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
runtime "k8s.io/cri-api/pkg/apis/runtime/v1"
|
runtime "k8s.io/cri-api/pkg/apis/runtime/v1"
|
||||||
@ -41,7 +42,7 @@ func TestWindowsDevice(t *testing.T) {
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
// TODO: An image with the device-dumper
|
// TODO: An image with the device-dumper
|
||||||
testImage = GetImage(BusyBox)
|
testImage = images.Get(images.BusyBox)
|
||||||
containerName = "test-container"
|
containerName = "test-container"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/containerd/containerd/integration/images"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
@ -37,6 +38,7 @@ var (
|
|||||||
|
|
||||||
// Tests to verify the Windows HostProcess
|
// Tests to verify the Windows HostProcess
|
||||||
func TestWindowsHostProcess(t *testing.T) {
|
func TestWindowsHostProcess(t *testing.T) {
|
||||||
|
pauseImage := images.PauseImage
|
||||||
EnsureImageExists(t, pauseImage)
|
EnsureImageExists(t, pauseImage)
|
||||||
|
|
||||||
t.Run("run as Local Service", func(t *testing.T) {
|
t.Run("run as Local Service", func(t *testing.T) {
|
||||||
|
@ -28,6 +28,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/containerd/containerd/integration/images"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
runtime "k8s.io/cri-api/pkg/apis/runtime/v1"
|
runtime "k8s.io/cri-api/pkg/apis/runtime/v1"
|
||||||
@ -42,7 +43,7 @@ func TestWindowsRootfsSize(t *testing.T) {
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
testImage = GetImage(Pause)
|
testImage = images.Get(images.Pause)
|
||||||
containerName = "test-container"
|
containerName = "test-container"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user