diff --git a/tests/integration/test_charm.py b/tests/integration/test_charm.py index f9a3af31f3..2d8f378e82 100644 --- a/tests/integration/test_charm.py +++ b/tests/integration/test_charm.py @@ -186,10 +186,10 @@ async def test_postgresql_locales(ops_test: OpsTest) -> None: async def test_postgresql_parameters_change(ops_test: OpsTest) -> None: """Test that's possible to change PostgreSQL parameters.""" await ops_test.model.applications[DATABASE_APP_NAME].set_config({ - "memory_max_prepared_transactions": "100", - "memory_shared_buffers": "32768", # 2 * 128MB. Patroni may refuse the config if < 128MB - "response_lc_monetary": "en_GB.utf8", - "experimental_max_connections": "200", + "memory-max-prepared-transactions": "100", + "memory-shared-buffers": "32768", # 2 * 128MB. Patroni may refuse the config if < 128MB + "response-lc-monetary": "en_GB.utf8", + "experimental-max-connections": "200", }) await ops_test.model.wait_for_idle(apps=[DATABASE_APP_NAME], status="active", idle_period=30) password = await get_password(ops_test)