You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[chore][extension/k8sleaderelector] Fix race in TestExtension (open-telemetry#43525)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Moved the check causing race conditions
#### Link to tracking issue
Fixes
[43423](open-telemetry#43423)
<!--Describe what testing was performed and which tests were added.-->
#### Testing
You can test this locally running `GOMAXPROCS=1 go test -race -v -run
TestExtension -count=100` from main
results in
```
Error: Should be true
Test: TestExtension
```
and then from this pr branch the test PASS
0 commit comments