give small timeout to allow mount to come up

pull/13144/head
Steven Powell 2021-12-21 13:31:01 -08:00
parent 2c324b7228
commit 645d9f38dc
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,7 @@ import (
"strconv"
"strings"
"testing"
"time"
)
const (
@ -99,6 +100,8 @@ func validateStartWithMount(ctx context.Context, t *testing.T, profile string) {
if err != nil {
t.Fatalf("failed to start minikube with args: %q : %v", rr.Command(), err)
}
// The mount takes a split second to come up, without this the validateMount test will fail
time.Sleep(1 * time.Second)
}
// validateMount checks if the cluster has a folder mounted