remove DB connection check at startup
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Max Erenberg 2021-08-29 16:34:23 +00:00
parent 01e3bef9ca
commit a812ba94cd
2 changed files with 0 additions and 10 deletions

View File

@ -26,11 +26,6 @@ class MySQLService:
self.auth_password = config.get('mysql_password')
self.host = config.get('mysql_host')
# check that database is up and that we have admin rights
test_user = "test_user_64559"
self.create_db(test_user)
self.delete_db(test_user)
@contextmanager
def mysql_connection(self):
try:

View File

@ -26,11 +26,6 @@ class PostgreSQLService:
self.auth_password = config.get('postgresql_password')
self.host = config.get('postgresql_host')
# check that database is up and that we have admin rights
test_user = "test_user_64559"
self.create_db(test_user)
self.delete_db(test_user)
@contextmanager
def psql_connection(self):
con = None