open-telemetry / opentelemetry-android

OpenTelemetry Tooling for Android
Apache License 2.0
147 stars 33 forks source link

Avoid static otel test instance #487

Closed LikeTheSalad closed 1 month ago

LikeTheSalad commented 2 months ago
          Maybe after the okhttp inst changes, I think we should update this to avoid relying on storing the otel instance statically for every test. Seems like a test extension/rule could help.

_Originally posted by @LikeTheSalad in https://github.com/open-telemetry/opentelemetry-android/pull/452#discussion_r1687604523_

LikeTheSalad commented 1 month ago

A test rule has been created here to sort this.