elastic / opentelemetry-lib

Apache License 2.0
0 stars 6 forks source link

testing package included in downstream clients #32

Open kruskall opened 4 days ago

kruskall commented 4 days ago

The testing.go file imports the testing package but it's non-test file in a non-testing package.

https://github.com/elastic/opentelemetry-lib/blob/3df0d4f515c90726a090666556ed38cf2aa0cdd8/remappers/internal/testing.go#L21

This causes downstream clients to include the testing package in the final binary.

(This is a side effect of some of the downstream clients having DCE disabled due to problematic dependencies)