From 92b5b336144f154ebc99939c940f78550bf1d6a6 Mon Sep 17 00:00:00 2001 From: Yang Chiu Date: Fri, 16 Feb 2024 09:29:46 +0800 Subject: [PATCH] test: fix flaky test case test_extra_replica_cleanup Signed-off-by: Yang Chiu --- manager/integration/tests/test_ha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager/integration/tests/test_ha.py b/manager/integration/tests/test_ha.py index 6c1a794515..797d7ee484 100644 --- a/manager/integration/tests/test_ha.py +++ b/manager/integration/tests/test_ha.py @@ -1984,7 +1984,7 @@ def test_extra_replica_cleanup(client, volume_name, settings_reset): # NOQA wait_for_volume_replica_count(client, volume_name, 3) volume = client.by_id_volume(volume_name) - assert volume.robustness == "healthy" + wait_for_volume_healthy(client, volume_name) check_volume_data(volume, data)