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

tests: close ledger after TestCatchupUnmatchedCertificate #4348

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

ghost
Copy link

@ghost ghost commented Aug 3, 2022

Summary

Tests that open up a ledger sometime cause a panic since not all the goroutines are closed after the TestCatchupUnmatchedCertificate test and the goroutines print more logging messages. This pr closes the ledger after finishing the test to fix this issue.

Test Plan

Reran test 100 times, observed no failures. Before there would consistently be failures within 10 runs.

@ghost ghost self-assigned this Aug 3, 2022
@ghost ghost changed the title tests: close ledger after test tests: close ledger after TestCatchupUnmatchedCertificate Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants