give small timeout to allow mount to come up
parent
2c324b7228
commit
645d9f38dc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue