From 38e98d89d721275a2ac27aa17291d7165dac14f6 Mon Sep 17 00:00:00 2001 From: Mia Altieri Date: Mon, 8 Jan 2024 21:57:05 +0000 Subject: [PATCH] pass db name --- .../relation_tests/new_relations/test_charm_relations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/relation_tests/new_relations/test_charm_relations.py b/tests/integration/relation_tests/new_relations/test_charm_relations.py index e7d38417f..6be5f1aa9 100644 --- a/tests/integration/relation_tests/new_relations/test_charm_relations.py +++ b/tests/integration/relation_tests/new_relations/test_charm_relations.py @@ -196,7 +196,7 @@ async def test_app_relation_metadata_change(ops_test: OpsTest) -> None: ) ip_addresses = endpoints_str.split(",") try: - primary = await replica_set_primary(ip_addresses, ops_test) + primary = await replica_set_primary(ip_addresses, ops_test, app_name=db_app_name) except RetryError: assert False, "replica set has no primary"