remove DB connection check at startup
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
01e3bef9ca
commit
a812ba94cd
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue