-
Notifications
You must be signed in to change notification settings - Fork 355
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
fix: Close database connection after test statement. #15640
Conversation
Kudos, SonarCloud Quality Gate passed! |
Codecov Report
@@ Coverage Diff @@
## master #15640 +/- ##
============================================
- Coverage 66.20% 66.20% -0.01%
+ Complexity 31264 31261 -3
============================================
Files 3487 3487
Lines 129902 129905 +3
Branches 15170 15170
============================================
- Hits 86007 86004 -3
- Misses 36813 36816 +3
- Partials 7082 7085 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
* fix: Close database connection after test statement.
* fix: Close database connection after test statement.
* fix: Close database connection after test statement.
Use the try-resource pattern to automatically close the database connection during startup.