Set --wait=false to more tests where appropriate
parent
21ab32eaf8
commit
9f2590752b
|
@ -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)
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue