-
Notifications
You must be signed in to change notification settings - Fork 14k
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: dbmodal test connection error timeout #20068
Conversation
Codecov Report
@@ Coverage Diff @@
## master #20068 +/- ##
===========================================
- Coverage 66.36% 54.55% -11.82%
===========================================
Files 1715 1720 +5
Lines 64186 64383 +197
Branches 6753 6753
===========================================
- Hits 42597 35123 -7474
- Misses 19871 27542 +7671
Partials 1718 1718
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
* fix: check for connect on ping * clean up merge * fix merge * precommit
SUMMARY
There was an issue where when testing the dbconnection string would not error out after the 30 second timeout because the checking of the connection would happen before the timeout is initiated. This pr solve that issue by ensuring that if error the timeout will be enforced.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
before
after
TESTING INSTRUCTIONS
Go to db connection modal and input an expired db uri. Test the connection by pressing the test connection button and it should error out in ~30 seconds.
ADDITIONAL INFORMATION