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

pool/SNOW-902611 #1/4 removed singleton pattern from SessionPool; introduced ne… #791

Merged
merged 3 commits into from
Oct 16, 2023

Conversation

sfc-gh-mhofman
Copy link
Collaborator

@sfc-gh-mhofman sfc-gh-mhofman commented Oct 11, 2023

Description

Connection Pool v1
-Removal of singleton pattern from SessionPool
-Introduction of interface and an its implementation of ConnectionManager
-Split integration tests of ConnectionPool (into separate files) + some cleanup in the classes

Checklist

  • Code compiles correctly
  • Code is formatted according to Coding Conventions
  • Created tests which fail without the change (if possible)
  • All tests passing (dotnet test)
  • Extended the README / documentation, if necessary
  • Provide JIRA issue id (if possible) or GitHub issue id in PR name

@sfc-gh-mhofman sfc-gh-mhofman requested a review from a team as a code owner October 11, 2023 09:08
…w interface for ConnectionManager; split tests of ConnectionPool and some cleanup in the classes
@sfc-gh-mhofman sfc-gh-mhofman force-pushed the pool/SNOW-902611-new-pool-lifecycle branch from ca04c5b to ceef6c4 Compare October 11, 2023 09:20
@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

Merging #791 (bcee106) into master (127343f) will decrease coverage by 0.10%.
Report is 2 commits behind head on master.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #791      +/-   ##
==========================================
- Coverage   84.95%   84.86%   -0.10%     
==========================================
  Files          89       90       +1     
  Lines        8719     8739      +20     
==========================================
+ Hits         7407     7416       +9     
- Misses       1312     1323      +11     
Files Coverage Δ
Snowflake.Data/Client/SnowflakeDbConnectionPool.cs 100.00% <100.00%> (ø)
...wflake.Data/Core/Session/ConnectionCacheManager.cs 100.00% <100.00%> (ø)
Snowflake.Data/Core/Session/SessionPool.cs 93.97% <100.00%> (-0.35%) ⬇️

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sfc-gh-mhofman sfc-gh-mhofman changed the title SNOW-902611 removed singleton pattern from SessionPool; introduced ne… SNOW-902611 POOL 1/4 removed singleton pattern from SessionPool; introduced ne… Oct 12, 2023
@sfc-gh-mhofman sfc-gh-mhofman changed the title SNOW-902611 POOL 1/4 removed singleton pattern from SessionPool; introduced ne… pool/SNOW-902611 #1/4 removed singleton pattern from SessionPool; introduced ne… Oct 12, 2023
@sfc-gh-mhofman sfc-gh-mhofman force-pushed the pool/SNOW-902611-new-pool-lifecycle branch from 969b964 to ed7d989 Compare October 13, 2023 12:53
@sfc-gh-mhofman sfc-gh-mhofman force-pushed the pool/SNOW-902611-new-pool-lifecycle branch from ed7d989 to bcee106 Compare October 13, 2023 13:12
@sfc-gh-mhofman sfc-gh-mhofman merged commit 7ff70e4 into master Oct 16, 2023
19 of 20 checks passed
@sfc-gh-mhofman sfc-gh-mhofman deleted the pool/SNOW-902611-new-pool-lifecycle branch October 16, 2023 21:34
@github-actions github-actions bot locked and limited conversation to collaborators Oct 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants