Skip to content

Commit

Permalink
Fix flaky test_volume_metrics
Browse files Browse the repository at this point in the history
ref: 7626

Signed-off-by: Chris <[email protected]>
  • Loading branch information
chriscchien authored and khushboo-rancher committed Jan 30, 2024
1 parent a101586 commit 8bcdfa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manager/integration/tests/test_metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 8bcdfa7

Please sign in to comment.