try to fix functional macos test

pull/9263/head
Sharif Elgamal 2020-09-17 17:09:02 -07:00
parent cf0e99adf6
commit 86de3640ea
2 changed files with 1 additions and 2 deletions

View File

@ -198,7 +198,6 @@ jobs:
go-version: '1.14.6'
stable: true
- name: Install gopogh
shell: bash
run: |
curl -LO https://github.com/medyagh/gopogh/releases/download/v0.2.4/gopogh-darwin-amd64

View File

@ -518,7 +518,7 @@ func validateCacheCmd(ctx context.Context, t *testing.T, profile string) {
}
img := "minikube-local-cache-test:" + profile
_, err = Run(t, exec.CommandContext(ctx, "docker", "build", "-t", img, dname))
_, err = Run(t, exec.CommandContext(ctx, "sudo", "docker", "build", "-t", img, dname))
if err != nil {
t.Errorf("failed to build docker image: %v", err)
}