From fa2e3ddbf1564fb76271b03c0929e294a8f52c8f Mon Sep 17 00:00:00 2001 From: Shijie Sheng Date: Fri, 13 Dec 2024 16:10:50 -0800 Subject: [PATCH] fix unit test --- service/matching/liveness/liveness_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/matching/liveness/liveness_test.go b/service/matching/liveness/liveness_test.go index d18cd596d4e..fa112cbe3a2 100644 --- a/service/matching/liveness/liveness_test.go +++ b/service/matching/liveness/liveness_test.go @@ -58,7 +58,7 @@ func (s *livenessSuite) SetupTest() { s.liveness = NewLiveness(s.timeSource, s.ttl, func() { atomic.CompareAndSwapInt32(&s.shutdownFlag, 0, 1) s.liveness.Stop() - }) + }) } func (s *livenessSuite) TestIsAlive_No() {