From 53887f407ca50b1b7d6c4ab89af9a4c3a6239d30 Mon Sep 17 00:00:00 2001 From: Priya Wadhwa Date: Mon, 8 Feb 2021 10:30:17 -0800 Subject: [PATCH] skip load image on none driver --- test/integration/functional_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/integration/functional_test.go b/test/integration/functional_test.go index 60a18bcdd9..aca25d0721 100644 --- a/test/integration/functional_test.go +++ b/test/integration/functional_test.go @@ -161,8 +161,10 @@ func validateNodeLabels(ctx context.Context, t *testing.T, profile string) { // validateLoadImage makes sure that `minikube load image` works as expected func validateLoadImage(ctx context.Context, t *testing.T, profile string) { - // defer PostMortemLogs(t, profile) - + if NoneDriver() { + t.Skip("load image not available on none driver") + } + defer PostMortemLogs(t, profile) // pull busybox busybox := "busybox:latest" rr, err := Run(t, exec.CommandContext(ctx, "docker", "pull", busybox))