mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Merge pull request #8333 from ixdy/e2e-kubectl
e2e: don't try to clean up after rolling-update test
This commit is contained in:
commit
1ee33ac481
@ -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.
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user