From 0cbc0fc0c95e86c54a5258099bdf6efd23ac39ec Mon Sep 17 00:00:00 2001 From: Dmitry Ratushnyy Date: Mon, 8 Jan 2024 06:14:53 +0000 Subject: [PATCH] Remove non-needed param --- tests/integration/ha_tests/test_ha.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/ha_tests/test_ha.py b/tests/integration/ha_tests/test_ha.py index 19db647fe..83bdcc690 100644 --- a/tests/integration/ha_tests/test_ha.py +++ b/tests/integration/ha_tests/test_ha.py @@ -590,8 +590,8 @@ async def test_network_cut(ops_test, continuous_writes): all_units = ops_test.model.applications[app_name].units model_name = ops_test.model.info.name - primary_hostname = await unit_hostname(ops_test, primary.name, app_name=app_name) - primary_unit_ip = await get_unit_ip(ops_test, primary.name, app_name=app_name) + primary_hostname = await unit_hostname(ops_test, primary.name) + primary_unit_ip = await get_unit_ip(ops_test, primary.name) # before cutting network verify that connection is possible assert await mongod_ready(