mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-02-05 13:15:41 +02:00
388dbc785f
On slower VMs (like the CI VMs), this test was timing out in 2ms and failing. Additionally, in the process of failing, the suite tear-down function would reset the globalHandler and cause a race with the spawned goroutine that was abandoned. This increases the pause from 2ms to 10ms, unifies and simplifies the wait logic, and stops the child goroutine on failure.