From f75a309e144cabf62800ef19d2483d4805e2980f Mon Sep 17 00:00:00 2001 From: xuriwuyun Date: Wed, 14 Jun 2023 16:02:39 +0800 Subject: [PATCH] chore: update checkrole test (#3779) --- internal/controller/component/probe_utils_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/component/probe_utils_test.go b/internal/controller/component/probe_utils_test.go index b2b5ed0ecbc..e2d65d14231 100644 --- a/internal/controller/component/probe_utils_test.go +++ b/internal/controller/component/probe_utils_test.go @@ -96,7 +96,7 @@ var _ = Describe("probe_utils", func() { It("should build role changed probe container", func() { buildRoleProbeContainer("wesql", container, clusterDefProbe, probeServiceHTTPPort) - Expect(container.ReadinessProbe.Exec.Command).ShouldNot(BeEmpty()) + Expect(container.ReadinessProbe.HTTPGet).ShouldNot(BeNil()) }) It("should build role service container", func() {