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

SNOW-902611 move control over creation of session to session pool #783

Merged
merged 12 commits into from
Oct 10, 2023

Conversation

sfc-gh-mhofman
Copy link
Collaborator

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

Description

Moving a code responsible for establishing a new session to the session pool class as a prerequisite step to introduction of a new connection pool implementation.
Fixed some flaky tests which were unrelated to the pool but were failing when mocked connection (with some intentional throw exception behavior) was put back to the pool by another test.

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 marked this pull request as ready for review October 9, 2023 07:50
@sfc-gh-mhofman sfc-gh-mhofman requested a review from a team as a code owner October 9, 2023 07:50
Snowflake.Data/Client/SnowflakeDbConnection.cs Outdated Show resolved Hide resolved
Snowflake.Data/Client/SnowflakeDbConnection.cs Outdated Show resolved Hide resolved
Snowflake.Data/Core/Session/SessionPool.cs Show resolved Hide resolved
Snowflake.Data/Core/Session/SessionPool.cs Outdated Show resolved Hide resolved
Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs Outdated Show resolved Hide resolved
Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs Outdated Show resolved Hide resolved
Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs Outdated Show resolved Hide resolved
@sfc-gh-mhofman sfc-gh-mhofman force-pushed the session_pool_responsibility_for_new_sessions branch from 2764cf0 to 2b09dea Compare October 9, 2023 11:29
@sfc-gh-mhofman sfc-gh-mhofman force-pushed the session_pool_responsibility_for_new_sessions branch from ab61278 to 4a596bc Compare October 9, 2023 11:47
@sfc-gh-mhofman sfc-gh-mhofman force-pushed the session_pool_responsibility_for_new_sessions branch from 4a596bc to 0521968 Compare October 9, 2023 11:48
@sfc-gh-mhofman sfc-gh-mhofman force-pushed the session_pool_responsibility_for_new_sessions branch from 0e72c99 to 4eae0c5 Compare October 10, 2023 14:03
@sfc-gh-mhofman sfc-gh-mhofman merged commit 127343f into master Oct 10, 2023
18 checks passed
@sfc-gh-mhofman sfc-gh-mhofman deleted the session_pool_responsibility_for_new_sessions branch October 10, 2023 14:29
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 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