提交 6b4c545a 编写于 作者: D dlorenc 提交者: dlorenc

Deflake the dashboard test.

This was a bit overkill.
上级 f8a52cb8
......@@ -252,14 +252,6 @@ func WaitForDashboardRunning(t *testing.T) error {
return errors.Wrap(err, "waiting for dashboard deployment to stabilize")
}
if err := commonutil.WaitForService(client, "kube-system", "kubernetes-dashboard", true, time.Millisecond*500, time.Minute*10); err != nil {
return errors.Wrap(err, "waiting for dashboard service to be up")
}
if err := commonutil.WaitForServiceEndpointsNum(client, "kube-system", "kubernetes-dashboard", 1, time.Second*3, time.Minute*10); err != nil {
return errors.Wrap(err, "waiting for one dashboard endpoint to be up")
}
return nil
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册