Skip to content

Commit

Permalink
Drop Server DB test leftovers to test Router DB
Browse files Browse the repository at this point in the history
  • Loading branch information
taurus-forever committed Apr 25, 2024
1 parent 08780a9 commit f211ece
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration/app-charm/src/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def create_table_mysql(credentials: Dict[str, str], database_name: str) -> bool:
config = get_mysql_config(credentials, database_name)
with MysqlConnector(config) as cursor:
try:
cursor.execute(f"DROP TABLE IF EXISTS {TABLE_NAME};")
cursor.execute(
(
f"CREATE TABLE IF NOT EXISTS {TABLE_NAME} ("
Expand Down

0 comments on commit f211ece

Please sign in to comment.