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

Close fakedatastore when test finishes #5804

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

sorindumitru
Copy link
Collaborator

Generally this isn't needed because the DB object gets cleaned up when the process exits. But when running I something get crashes with lots of goroutine stack traces from database pools.

Pull Request check list

  • Commit conforms to CONTRIBUTING.md?
  • Proper tests/regressions included?
  • Documentation updated?

Affected functionality
Only testing

Description of change
Close fakedatastore when test finishes

Generally this isn't needed because the DB object gets cleaned up when the process exits. But when running  I something get crashes with lots of goroutine stack traces from database pools.

Signed-off-by: Sorin Dumitru <sdumitru@bloomberg.net>
@MarcosDY MarcosDY merged commit ab1b341 into spiffe:main Jan 24, 2025
35 checks passed
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