Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IN-923 Raise exceptions for failed connection tests
Why these changes are being introduced: * Raising exceptions for any failed connection tests stops the application from proceeding with the workflow once a connection test fails. This logic makes sense as the (1) a successful connection to the Data Warehouse is required for any Carbon run and (2) a successful connection to the Elements FTP server is required for any run Carbon run that involves FTP. How this addresses that need: * Exceptions are raised in the connection test functions of carbon.database.DatabaseEngine and carbon.app.DatabaseToFtpPipe. * CLI tests for failed connection tests are properly configured. Side effects of this change: * None Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/IN-923
- Loading branch information
1 parent
49e9155
commit 4744fb3
Showing
3 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters