Commit 2e9509fb authored by Abhi Shah's avatar Abhi Shah

Merge pull request #9647 from bprashanth/roll

Fix rolling update e2e test
parents 117f5503 adc1a26c
......@@ -3,7 +3,7 @@ kind: ReplicationController
metadata:
name: update-demo-kitten
spec:
replicas: 0
replicas: 1
selector:
name: update-demo
version: kitten
......
......@@ -101,7 +101,8 @@ var _ = Describe("Kubectl client", func() {
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)
// TODO: revisit the expected replicas once #9645 is resolved
validateController(c, kittenImage, 1, "update-demo", updateDemoSelector, getUDData("kitten.jpg", ns), ns)
// Everything will hopefully be cleaned up when the namespace is deleted.
})
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment