From d6d199ddabfc963c5c7d19aecfbed41b742c5a8b Mon Sep 17 00:00:00 2001 From: Ewa Socala Date: Thu, 10 Sep 2015 12:06:05 +0200 Subject: [PATCH] Horizontal Pod Autoscaler is deleted along with namespace --- test/e2e/autoscaling_utils.go | 1 - 1 file changed, 1 deletion(-) diff --git a/test/e2e/autoscaling_utils.go b/test/e2e/autoscaling_utils.go index 96a249a4612..29449f85b65 100644 --- a/test/e2e/autoscaling_utils.go +++ b/test/e2e/autoscaling_utils.go @@ -203,7 +203,6 @@ func (rc *ResourceConsumer) CleanUp() { rc.stopMem <- 0 expectNoError(DeleteRC(rc.framework.Client, rc.framework.Namespace.Name, rc.name)) expectNoError(rc.framework.Client.Services(rc.framework.Namespace.Name).Delete(rc.name)) - expectNoError(rc.framework.Client.Experimental().HorizontalPodAutoscalers(rc.framework.Namespace.Name).Delete(rc.name, api.NewDeleteOptions(0))) } func runServiceAndRCForResourceConsumer(c *client.Client, ns, name string, replicas int, cpuLimitMillis, memLimitMb int64) {