Skip to content

Added a method which tests a database connection before initiation. - #4

Merged
vkuttyp merged 1 commit into
vkuttyp:mainfrom
FoxClock:connectionTimeout
Feb 22, 2026
Merged

Added a method which tests a database connection before initiation.#4
vkuttyp merged 1 commit into
vkuttyp:mainfrom
FoxClock:connectionTimeout

Conversation

@FoxClock

Copy link
Copy Markdown
Contributor

Overview

This method raises a SQLClient connection error if no server is present at the location specified.
This is a stand in for Microsoft's own response to an invalid connection string.
This also allows the tests to test with a configuration which will report failure after 5 seconds of attempts.

This method raises a SQLClient connection error if no server is present at the location specified.

This is a stand in for microsoft's own response to an invalid connection string.

This also allows the tests to test with a configuration which will report failure after 5 seconds of attempts.
@vkuttyp
vkuttyp merged commit f0e46de into vkuttyp:main Feb 22, 2026
1 check passed
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.

2 participants