diff --git a/internal/services/ingest_test.go b/internal/services/ingest_test.go index e046c8e..7b347b2 100644 --- a/internal/services/ingest_test.go +++ b/internal/services/ingest_test.go @@ -328,8 +328,8 @@ func TestTrackRPCServiceHealth(t *testing.T) { defer cancel() // Mock both expected warning messages - mockAppTracker.On("CaptureMessage", "rpc service unhealthy for over 1m0s").Once() mockAppTracker.On("CaptureMessage", "ingestion service stale for over 1m0s").Maybe() + mockAppTracker.On("CaptureMessage", "rpc service unhealthy for over 1m0s").Once() // Set up RPC health check to consistently return error mockRPCService.On("GetHealth").Return(entities.RPCGetHealthResult{}, errors.New("rpc error"))