From 23b4fb6ebcc44917e3dc403b85c10c61842f5607 Mon Sep 17 00:00:00 2001 From: Yuri Date: Thu, 9 Jan 2025 17:49:30 -0800 Subject: [PATCH] fix unit test --- service/history/ndc/activity_state_replicator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/history/ndc/activity_state_replicator_test.go b/service/history/ndc/activity_state_replicator_test.go index 8d07edc7f77..a57cb3bbba0 100644 --- a/service/history/ndc/activity_state_replicator_test.go +++ b/service/history/ndc/activity_state_replicator_test.go @@ -155,7 +155,7 @@ func (s *activityReplicatorStateSuite) TestActivity_DifferentStamp() { localActivityInfo := &persistencespb.ActivityInfo{ Version: version, Attempt: attempt, - Stamp: stamp + 1, + Stamp: stamp - 1, } apply := s.nDCActivityStateReplicator.compareActivity(