e2e: check whether the deployment disappears in the disabledClusters

Signed-off-by: zhzhuang-zju <m17799853869@163.com>
This commit is contained in:
zhzhuang-zju 2023-12-25 11:22:05 +08:00
parent 2ffe976180
commit 82b7009ef4
1 changed files with 8 additions and 0 deletions

View File

@ -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)
})
})
})