Skip to content

Commit 303f2cd

Browse files
authored
Merge pull request #4470 from zhzhuang-zju/failover
e2e: check whether the deployment disappears in the recovered clusters
2 parents 5ca4e5a + 82b7009 commit 303f2cd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/e2e/failover_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ var _ = framework.SerialDescribe("failover testing", func() {
156156
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
157157
}
158158
})
159+
160+
ginkgo.By("check whether the deployment disappears in the recovered clusters", func() {
161+
framework.WaitDeploymentDisappearOnClusters(disabledClusters, deploymentNamespace, deploymentName)
162+
})
159163
})
160164
})
161165

@@ -256,6 +260,10 @@ var _ = framework.SerialDescribe("failover testing", func() {
256260
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
257261
}
258262
})
263+
264+
ginkgo.By("check whether the deployment disappears in the recovered clusters", func() {
265+
framework.WaitDeploymentDisappearOnClusters(disabledClusters, deploymentNamespace, deploymentName)
266+
})
259267
})
260268
})
261269

0 commit comments

Comments
 (0)