-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
feat(pool): added acquireTimeout supports for pool #1919
base: master
Are you sure you want to change the base?
Conversation
P.S. I am not sure if it's corrected writting tests in this way. It's not easy to use the |
Hey, how is it going? Should we expect these changes to be merged? |
96673a1
to
a97ff42
Compare
c02e88f
to
b32b227
Compare
b32b227
to
ec0fde9
Compare
@fenying, in test/tsc-build/mysql/createPool/callbacks/createPool.test.ts, you don't need this 🙋🏻♂️ - pool = mysql.createPool({
- ...access,
- acquireTimeout: 1000,
- }); In test/integration/test-pool-acquire-timeout.test.js, you can change the file name to test/integration/test-pool-acquire-timeout.test.cjs 🧙🏻 For lint errors, I recommend you check it by running |
@wellwelwel Ok, I missed the Now I have run every test and lint locally, except for There are still some other failed tests, but seem not related to these changes. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1919 +/- ##
=======================================
Coverage 90.32% 90.32%
=======================================
Files 71 71
Lines 15717 15740 +23
Branches 1333 1341 +8
=======================================
+ Hits 14196 14217 +21
- Misses 1521 1523 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This PR added implements for
PoolConfig.acquireTimeout
supports, as issue #673 mentioned.