Remove dashboard deployment check from TestPersistence - it's no longer default

pull/3485/head
Thomas Stromberg 2018-12-21 12:03:15 -08:00
parent f3d158198f
commit 44a230bfa0
2 changed files with 0 additions and 16 deletions

View File

@ -44,10 +44,6 @@ func TestPersistence(t *testing.T) {
}
verify := func(t *testing.T) {
if err := util.WaitForDashboardRunning(t); err != nil {
t.Fatalf("waiting for dashboard to be up: %v", err)
}
if err := util.WaitForBusyboxRunning(t, "default"); err != nil {
t.Fatalf("waiting for busybox to be up: %v", err)
}

View File

@ -295,18 +295,6 @@ func WaitForBusyboxRunning(t *testing.T, namespace string) error {
return commonutil.WaitForPodsWithLabelRunning(client, namespace, selector)
}
func WaitForDashboardRunning(t *testing.T) error {
client, err := commonutil.GetClient()
if err != nil {
return errors.Wrap(err, "getting kubernetes client")
}
if err := commonutil.WaitForDeploymentToStabilize(client, "kube-system", "kubernetes-dashboard", time.Minute*10); err != nil {
return errors.Wrap(err, "waiting for dashboard deployment to stabilize")
}
return nil
}
func WaitForIngressControllerRunning(t *testing.T) error {
client, err := commonutil.GetClient()
if err != nil {