Fix race condition in otlpexporter tests (#5908)
Fix race condition in otlpexporter tests (#5908)

See https://github.com/open-telemetry/opentelemetry-collector/runs/7841516008?check_suite_focus=true

Signed-off-by: Bogdan <3f8e17047c2434e5c82a61403e56b9ef3e226d99@gmail.com>

Signed-off-by: Bogdan <3f8e17047c2434e5c82a61403e56b9ef3e226d99@gmail.com>
open-telemetry/opentelemetry-collector,open-telemetry/opentelemetry-collector,open-telemetry/opentelemetry-collector