From b46a0b1c789b544ec23dea526dd14fbe4605a32c Mon Sep 17 00:00:00 2001 From: Rory Z <16801068+Rory-Z@users.noreply.github.com> Date: Thu, 27 Jul 2023 10:58:37 +0800 Subject: [PATCH] test: change check conditions --- e2e/v1beta4/e2e_base_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/v1beta4/e2e_base_test.go b/e2e/v1beta4/e2e_base_test.go index 33a1f3084..9d7ee9261 100644 --- a/e2e/v1beta4/e2e_base_test.go +++ b/e2e/v1beta4/e2e_base_test.go @@ -231,7 +231,7 @@ var _ = Describe("Base E2E Test", Label("base"), func() { Expect(emqx.GetStatus().GetReadyReplicas()).Should(Equal(int32(1))) Expect(emqx.GetStatus().GetEmqxNodes()).Should(HaveLen(1)) Expect(emqx.GetStatus().GetCurrentStatefulSetVersion()).ShouldNot(BeEmpty()) - Expect(emqx.GetStatus().GetConditions()).ShouldNot(BeEmpty()) + Expect(emqx.GetStatus().IsConditionTrue(appsv1beta4.ConditionRunning)).Should(BeTrue()) By("check pod annotations") sts := &appsv1.StatefulSet{}