Merge pull request #4470 from zhzhuang-zju/failover

e2e: check whether the deployment disappears in the recovered clusters
This commit is contained in:
karmada-bot 2023-12-26 11:18:21 +08:00 committed by GitHub
commit 303f2cd24b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
})
})
})