From 28485b2b032665ee868455cead7d47772c9d6128 Mon Sep 17 00:00:00 2001 From: Abhishek Jha Date: Tue, 7 May 2024 14:32:38 -0700 Subject: [PATCH] added missing call for GetDLQSize --- common/domain/dlq_message_handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/domain/dlq_message_handler_test.go b/common/domain/dlq_message_handler_test.go index 5cbdc6bc2d6..91deb69a140 100644 --- a/common/domain/dlq_message_handler_test.go +++ b/common/domain/dlq_message_handler_test.go @@ -120,7 +120,7 @@ func TestDLQMessageHandler_Start(t *testing.T) { { name: "Should start when initialized", setupMocks: func(m *MockReplicationQueue) { - m.EXPECT().GetDLQSize(gomock.Any()).Return(int64(1), nil).Times(1) + m.EXPECT().GetDLQSize(gomock.Any()).Return(int64(1), nil).AnyTimes() }, initialStatus: common.DaemonStatusInitialized, expectedStatus: common.DaemonStatusStarted,