提交 a11b4716 编写于 作者: A Aaron Prindle

Removed dependency on localkube to wait for the network to be up

上级 2015d0a7
......@@ -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
......
......@@ -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")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册