Skip to content

Conversation

n-peugnet
Copy link

@n-peugnet n-peugnet commented Feb 20, 2025

Instead of comparing the number of goroutines which is inherently unreliable, we count the number of goroutines that exited using a defer statement, and an atomic counter.

By the way, the timer are reduced to 100ms as it is more than enough time to let the goroutines exit.

Closes: #186

Instead of comparing the number of goroutines which is inherently
unreliable, we count the number of goroutines that exited using a defer
statement, and an atomic counter.

By the way, the timer are reduced to 10ms as it is more than enough time
to let the goroutines exit.

Closes: r3labs#186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky test: TestSubscribeWithContextDone
1 participant