Merge pull request #1298 from aaron-prindle/no-network-wait

Removed dependency on localkube to wait for the network to be up
pull/1318/merge
Aaron Prindle 2017-04-12 09:10:49 -07:00 committed by GitHub
commit 715ee87dc9
2 changed files with 4 additions and 3 deletions

View File

@ -35,9 +35,6 @@ var localkubeSystemdTmpl = `[Unit]
Description=Localkube
Documentation=https://github.com/kubernetes/minikube/tree/master/pkg/localkube
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
Restart=always

View File

@ -46,6 +46,10 @@ func TestStartStop(t *testing.T) {
t.Fatalf("IP command returned an invalid address: %s", ip)
}
// TODO:r2d4 The KVM driver can't handle
// starting and stopping immediately
time.Sleep(30 * time.Second)
checkStop := func() error {
runner.RunCommand("stop", true)
return runner.CheckStatusNoFail("Stopped")