From 11d2ee9f0a08fe06469bcf7be552dcac216cae0b Mon Sep 17 00:00:00 2001 From: Leonard Goodell Date: Tue, 16 Jan 2024 20:49:14 -0700 Subject: [PATCH] fix: Adjust failing unit test Signed-off-by: Leonard Goodell --- internal/runtime/storeforward_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/runtime/storeforward_test.go b/internal/runtime/storeforward_test.go index d18eb2856..80aec27a3 100644 --- a/internal/runtime/storeforward_test.go +++ b/internal/runtime/storeforward_test.go @@ -243,6 +243,8 @@ func TestStoreForLaterRetry(t *testing.T) { func TestTriggerRetry(t *testing.T) { mockLogger := &loggerMocks.LoggingClient{} + mockLogger.On("Infof", "%s metric has been registered and will be reported (if enabled)", "StoreForwardQueueSize") + dic.Update(di.ServiceConstructorMap{ bootstrapContainer.LoggingClientInterfaceName: func(get di.Get) interface{} { return mockLogger