skip load image on none driver

pull/10366/head
Priya Wadhwa 2021-02-08 10:30:17 -08:00
parent 97c58bf839
commit 53887f407c
1 changed files with 4 additions and 2 deletions

View File

@ -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))