Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(lib/babe): ensure babe goroutines exits after calling Stop #3437

Closed
wants to merge 4 commits into from

Conversation

EclesioMeloJunior
Copy link
Member

@EclesioMeloJunior EclesioMeloJunior commented Aug 11, 2023

Changes

Tests

go test -tags integration github.com/ChainSafe/gossamer/lib/babe

Issues

Primary Reviewer

@edwardmack

- Methods dont't return error
- Test `TestService_PauseAndResume` rewrite without goroutines
- Introduce `doneCh` that releases only when babe engines goroutine is
  finished
Copy link
Contributor

@jimjbrettj jimjbrettj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@EclesioMeloJunior EclesioMeloJunior changed the title chore(lib/babe): changes to Pause/Resume methods chore(lib/babe): ensure babe goroutines exits after calling Stop Aug 14, 2023
@EclesioMeloJunior
Copy link
Member Author

Closing in favor of #3434

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.

2 participants