Merge pull request #4470 from zhzhuang-zju/failover
e2e: check whether the deployment disappears in the recovered clusters
This commit is contained in:
commit
303f2cd24b
|
|
@ -156,6 +156,10 @@ var _ = framework.SerialDescribe("failover testing", func() {
|
|||
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
|
||||
}
|
||||
})
|
||||
|
||||
ginkgo.By("check whether the deployment disappears in the recovered clusters", func() {
|
||||
framework.WaitDeploymentDisappearOnClusters(disabledClusters, deploymentNamespace, deploymentName)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
|
|
@ -256,6 +260,10 @@ var _ = framework.SerialDescribe("failover testing", func() {
|
|||
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
|
||||
}
|
||||
})
|
||||
|
||||
ginkgo.By("check whether the deployment disappears in the recovered clusters", func() {
|
||||
framework.WaitDeploymentDisappearOnClusters(disabledClusters, deploymentNamespace, deploymentName)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue