Skip to content

Add ChannelDbConnectionPool stub and unit tests. #3396

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

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

mdaigle
Copy link
Contributor

@mdaigle mdaigle commented Jun 5, 2025

Description

Adds a class for the new connection pool. Adds unit tests for the class to ensure exceptions are thrown as expected.

Issues

#3356

Testing

Added unit tests.

Guidelines

Please review the contribution guidelines before submitting a pull request:

@mdaigle mdaigle requested a review from a team as a code owner June 5, 2025 16:38
@mdaigle mdaigle changed the title Add ChannelDbConnectionPool and unit tests. Add ChannelDbConnectionPool stub and unit tests. Jun 5, 2025
Base automatically changed from add-unit-test-project to main June 5, 2025 19:13
@mdaigle mdaigle force-pushed the dev/mdaigle/channel-connection-pool branch from b8a5318 to 8f11e53 Compare June 5, 2025 19:16
@mdaigle mdaigle force-pushed the dev/mdaigle/channel-connection-pool branch 2 times, most recently from 585a12b to 6b59d91 Compare June 5, 2025 20:49
@mdaigle mdaigle force-pushed the dev/mdaigle/channel-connection-pool branch from 6b59d91 to 12c7aa8 Compare June 5, 2025 20:52
Copy link

codecov bot commented Jun 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.93%. Comparing base (835bf30) to head (12c7aa8).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3396      +/-   ##
==========================================
+ Coverage   64.59%   65.93%   +1.34%     
==========================================
  Files         300      301       +1     
  Lines       65603    65625      +22     
==========================================
+ Hits        42375    43272     +897     
+ Misses      23228    22353     -875     
Flag Coverage Δ
addons 92.58% <ø> (ø)
netcore 72.30% <100.00%> (+3.72%) ⬆️
netfx 63.83% <100.00%> (-1.83%) ⬇️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@cheenamalhotra cheenamalhotra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering this is just scaffolding as of now - and will be implemented later.

Copy link
Contributor

@benrr101 benrr101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, no problems here. Looking forward to implementation and more test cases when implementation is added.

@mdaigle mdaigle merged commit 0444198 into main Jun 6, 2025
251 checks passed
@mdaigle mdaigle deleted the dev/mdaigle/channel-connection-pool branch June 6, 2025 22:30
@paulmedynski paulmedynski added this to the 6.1-preview2 milestone Jun 23, 2025
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.

4 participants