Skip to content

Commit a6aa98f

Browse files
Fix integration test database name
canonical/mysql-test-app#51
1 parent 243d617 commit a6aa98f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kubernetes/tests/integration/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
logger = logging.getLogger(__name__)
2929

30-
CONTINUOUS_WRITES_DATABASE_NAME = "continuous_writes_database"
30+
CONTINUOUS_WRITES_DATABASE_NAME = "continuous_writes"
3131
CONTINUOUS_WRITES_TABLE_NAME = "data"
3232

3333
MYSQL_DEFAULT_APP_NAME = "mysql-k8s"

kubernetes/tests/integration/test_charm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ async def test_database_relation(ops_test: OpsTest, charm):
109109
server_config_credentials = await get_server_config_credentials(mysql_unit)
110110

111111
select_inserted_data_sql = [
112-
f"SELECT data FROM continuous_writes_database.random_data WHERE data = '{inserted_data}'",
112+
f"SELECT data FROM continuous_writes.random_data WHERE data = '{inserted_data}'",
113113
]
114114
selected_data = await execute_queries_against_unit(
115115
mysql_unit_address,

0 commit comments

Comments
 (0)