1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00

styleguide: tests goroutine leaks and naming (#4348)

* internal/global: Fix goroutine leaks in tests
This commit is contained in:
Robert Pająk
2023-07-24 09:35:06 +02:00
committed by GitHub
parent cbc5890d9c
commit fd5284f75c
16 changed files with 90 additions and 40 deletions
+7
View File
@@ -556,6 +556,13 @@ functionality should be added, each one will need their own super-set
interfaces and will duplicate the pattern. For this reason, the simple targeted
interface that defines the specific functionality should be preferred.
### Testing
The tests should never leak goroutines.
Use the term `ConcurrentSafe` in the test name when it aims to verify the
absence of race conditions.
## Approvers and Maintainers
### Approvers