e2e: check whether the deployment disappears in the disabledClusters
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
This commit is contained in:
parent
2ffe976180
commit
82b7009ef4
|
@ -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