Skip to content

Commit

Permalink
skip checking mounting flags with Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
spowelljr committed Dec 1, 2021
1 parent 9439da2 commit 4e598b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/integration/mount_start_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ func validateMount(ctx context.Context, t *testing.T, profile string) {
t.Fatalf("mount failed: %q : %v", rr.Command(), err)
}

// Docker has it's own mounting method, it doesn't respect the mounting flags
if DockerDriver() {
return
}

args = sshArgs
args = append(args, "stat", "--format", "'%a'", "/minikube-host")
rr, err = Run(t, exec.CommandContext(ctx, Target(), args...))
Expand Down

0 comments on commit 4e598b6

Please sign in to comment.