Skip to content

wait for babe goroutines to complete when calling babe.Service.Close()#3442

Closed
timwu20 wants to merge 1 commit intoeclesio/introduce-pebbledbfrom
tim/ensure-babe-goroutines-finish
Closed

wait for babe goroutines to complete when calling babe.Service.Close()#3442
timwu20 wants to merge 1 commit intoeclesio/introduce-pebbledbfrom
tim/ensure-babe-goroutines-finish

Conversation

@timwu20
Copy link
Copy Markdown
Contributor

@timwu20 timwu20 commented Aug 14, 2023

err = babeService.Stop()
require.NoError(t, err)
}
// func TestService_PauseAndResume(t *testing.T) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This test still produces a panic. The entire orchestration of this service needs to be revisited.

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 14, 2023

Codecov Report

Merging #3442 (1f38725) into eclesio/introduce-pebbledb (8d94fbb) will decrease coverage by 0.02%.
Report is 3 commits behind head on eclesio/introduce-pebbledb.
The diff coverage is 0.00%.

Additional details and impacted files
@@                      Coverage Diff                       @@
##           eclesio/introduce-pebbledb    #3442      +/-   ##
==============================================================
- Coverage                       50.06%   50.05%   -0.02%     
==============================================================
  Files                             233      234       +1     
  Lines                           30759    30775      +16     
==============================================================
+ Hits                            15401    15403       +2     
- Misses                          13655    13670      +15     
+ Partials                         1703     1702       -1     

@EclesioMeloJunior
Copy link
Copy Markdown
Member

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