From 8bcdfa768170b7a77372fa8f74c985cec63153b5 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 29 Jan 2024 16:59:33 +0800 Subject: [PATCH] Fix flaky test_volume_metrics ref: 7626 Signed-off-by: Chris --- manager/integration/tests/test_metric.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manager/integration/tests/test_metric.py b/manager/integration/tests/test_metric.py index 0d1957abda..4218d17d0e 100644 --- a/manager/integration/tests/test_metric.py +++ b/manager/integration/tests/test_metric.py @@ -7,7 +7,7 @@ from common import client, core_api, volume_name # NOQA -from common import crash_replica_processes +from common import delete_replica_processes from common import create_pv_for_volume from common import create_pvc_for_volume from common import create_snapshot @@ -287,7 +287,7 @@ def test_volume_metrics(client, core_api, volume_name, pvc_namespace): # NOQA volume.updateReplicaCount(replicaCount=3) volume = wait_for_volume_healthy(client, volume_name) - crash_replica_processes(client, core_api, volume_name) + delete_replica_processes(client, core_api, volume_name) volume = wait_for_volume_faulted(client, volume_name) check_metric(core_api, "longhorn_volume_robustness",