diff --git a/test/e2e/failover_test.go b/test/e2e/failover_test.go index 987cb7985..92c374ea3 100644 --- a/test/e2e/failover_test.go +++ b/test/e2e/failover_test.go @@ -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) + }) }) })