give small timeout to allow mount to come up
parent
2c324b7228
commit
645d9f38dc
|
@ -26,6 +26,7 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -99,6 +100,8 @@ func validateStartWithMount(ctx context.Context, t *testing.T, profile string) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("failed to start minikube with args: %q : %v", rr.Command(), err)
|
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
|
// validateMount checks if the cluster has a folder mounted
|
||||||
|
|
Loading…
Reference in New Issue