open-telemetry / otel-arrow

Protocol and libraries for sending and receiving OpenTelemetry data using Apache Arrow
Apache License 2.0
68 stars 13 forks source link

Backport test & lint fixes from opentelemetry-collector-contrib/31996 #190

Closed jmacd closed 4 months ago

jmacd commented 4 months ago

This addresses the test flake occasionally seen in this repository. There was a channel being set to nil inappropriately, and uses of a direct call to channel close() when the more appropriate pattern is to cancel a context. This fixes the test flakes and lint problems from the upstream repository in https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/31996.