From fa77928c3043113f9a6a7a0ce172b89ec1c71fa1 Mon Sep 17 00:00:00 2001 From: Jeff Grafton Date: Thu, 14 May 2015 20:10:32 -0700 Subject: [PATCH] e2e: don't try to clean up after rolling-update test --- test/e2e/kubectl.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/e2e/kubectl.go b/test/e2e/kubectl.go index 0ca8fea0b19..a6c87fb8bc3 100644 --- a/test/e2e/kubectl.go +++ b/test/e2e/kubectl.go @@ -94,15 +94,13 @@ var _ = Describe("kubectl", func() { }) It("should do a rolling update of a replication controller", func() { - // Cleanup all resources in case we fail somewhere in the middle - defer cleanup(updateDemoRoot, ns, updateDemoSelector) - By("creating the initial replication controller") runKubectl("create", "-f", nautilusPath, fmt.Sprintf("--namespace=%v", ns)) validateController(c, nautilusImage, 2, "update-demo", updateDemoSelector, getUDData("nautilus.jpg", ns), ns) By("rolling-update to new replication controller") runKubectl("rolling-update", "update-demo-nautilus", "--update-period=1s", "-f", kittenPath, fmt.Sprintf("--namespace=%v", ns)) validateController(c, kittenImage, 2, "update-demo", updateDemoSelector, getUDData("kitten.jpg", ns), ns) + // Everything will hopefully be cleaned up when the namespace is deleted. }) })