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

fix: PromisePoolCluster.of returns PromisePoolCluster instead of PoolNamespace #3261

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

jcmartineztiempo
Copy link

@jcmartineztiempo jcmartineztiempo commented Dec 4, 2024

Fixes #3091.

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 82.00000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 88.65%. Comparing base (605fa04) to head (6ae2689).

Files with missing lines Patch % Lines
promise.js 82.00% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3261      +/-   ##
==========================================
+ Coverage   88.45%   88.65%   +0.20%     
==========================================
  Files          83       83              
  Lines       13067    13116      +49     
  Branches     1393     1417      +24     
==========================================
+ Hits        11558    11628      +70     
+ Misses       1509     1488      -21     
Flag Coverage Δ
compression-0 88.65% <82.00%> (+0.20%) ⬆️
compression-1 88.65% <82.00%> (+0.20%) ⬆️
tls-0 88.05% <82.00%> (+0.20%) ⬆️
tls-1 88.41% <82.00%> (+0.20%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jcmartineztiempo
Copy link
Author

Test added.

@wellwelwel wellwelwel changed the title Hotfix/fix 3091 fix: PromisePoolCluster.of returns PromisePoolCluster instead of PoolNamespace Dec 6, 2024
@wellwelwel
Copy link
Collaborator

Hey @jcmartineztiempo, thanks!
I couldn't pause to understand why the last test wouldn't finish, but it seems to have been fixed in recent commits.

Also, sorry for the lack of infos or support, December is usually very hectic 😅

@jcmartineztiempo
Copy link
Author

Hi @wellwelwel,

Yeah...the last test wouldn't finish due a sql syntax error in mysql 5.7. I'll look into it later.

Don't worry about support...it's my first ever pool request!!

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.

PoolCluster : TypeError: cb is not a function
2 participants