Set --wait=false to more tests where appropriate

pull/4744/head
tstromberg 2019-07-12 17:03:41 -07:00
parent 21ab32eaf8
commit 9f2590752b
4 changed files with 6 additions and 6 deletions

View File

@ -121,7 +121,7 @@ func testDashboard(t *testing.T) {
func testIngressController(t *testing.T) {
t.Parallel()
mk := NewMinikubeRunner(t)
mk := NewMinikubeRunner(t, "--wait=false")
kubectlRunner := util.NewKubectlRunner(t)
mk.RunCommand("addons enable ingress", true)
@ -192,7 +192,7 @@ func testServicesList(t *testing.T) {
}
func testGvisor(t *testing.T) {
mk := NewMinikubeRunner(t)
mk := NewMinikubeRunner(t, "--wait=false")
mk.RunCommand("addons enable gvisor", true)
t.Log("waiting for gvisor controller to come up")
@ -224,7 +224,7 @@ func testGvisor(t *testing.T) {
}
func testGvisorRestart(t *testing.T) {
mk := NewMinikubeRunner(t)
mk := NewMinikubeRunner(t, "--wait=false")
mk.EnsureRunning()
mk.RunCommand("addons enable gvisor", true)

View File

@ -131,7 +131,7 @@ func testProxyWarning(t *testing.T) {
// testProxyDashboard checks if dashboard URL is accessible if proxy is set
func testProxyDashboard(t *testing.T) {
mk := NewMinikubeRunner(t)
mk := NewMinikubeRunner(t, "--wait=false")
cmd, out := mk.RunDaemon("dashboard --url")
defer func() {
err := cmd.Process.Kill()

View File

@ -46,7 +46,7 @@ func testTunnel(t *testing.T) {
}
t.Log("starting tunnel test...")
runner := NewMinikubeRunner(t)
runner := NewMinikubeRunner(t, "--wait=false")
go func() {
output := runner.RunCommand("tunnel --alsologtostderr -v 8 --logtostderr", true)
if t.Failed() {

View File

@ -75,7 +75,7 @@ func TestVersionUpgrade(t *testing.T) {
}
defer os.Remove(tf.Name())
releaseRunner := NewMinikubeRunner(t)
releaseRunner := NewMinikubeRunner(t, "--wait=false")
releaseRunner.BinaryPath = tf.Name()
// For full coverage: also test upgrading from oldest to newest supported k8s release
releaseRunner.Start(fmt.Sprintf("--kubernetes-version=%s", constants.OldestKubernetesVersion))