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) }