From a9c53acdfff464a0fc36e89e420d299557eb2037 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Fri, 29 Nov 2024 02:03:43 +0100 Subject: [PATCH] - --- libs/telemetry/logger_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/telemetry/logger_test.go b/libs/telemetry/logger_test.go index 2648e1992..ff84c1f18 100644 --- a/libs/telemetry/logger_test.go +++ b/libs/telemetry/logger_test.go @@ -69,7 +69,8 @@ func TestTelemetryLoggerFlushesEvents(t *testing.T) { // Flush the events. Flush(ctx, mockClient) - // Assert that the protoLogs are empty after flushing. + // Assert that the .Do method is called twice, because all logs were not + // successfully logged in the first call. assert.Equal(t, 2, mockClient.numCalls) }