Skip to content

Commit

Permalink
refactor(integration): cleanup imports
Browse files Browse the repository at this point in the history
Signed-off-by: Chin-Ya Huang <[email protected]>
  • Loading branch information
c3y1huang committed Dec 13, 2023
1 parent 3513bd2 commit ad718f8
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions manager/integration/tests/test_metric.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
import pytest
import requests

from prometheus_client.parser import text_string_to_metric_families

from backupstore import set_random_backupstore # NOQA
from common import client, core_api, volume_name # NOQA

from common import crash_replica_processes
from common import create_pv_for_volume
from common import create_pvc_for_volume
from common import create_and_check_volume
from common import get_self_host_id
from common import create_pv_for_volume, create_pvc_for_volume
from common import create_and_check_volume, wait_for_volume_healthy
from common import write_volume_random_data
from common import wait_for_volume_detached, wait_for_volume_degraded
from common import wait_for_volume_faulted, crash_replica_processes
from common import wait_for_volume_degraded
from common import wait_for_volume_detached
from common import wait_for_volume_detached_unknown
from common import Mi, LONGHORN_NAMESPACE
from common import wait_for_volume_faulted
from common import wait_for_volume_healthy
from common import write_volume_random_data

from common import Mi
from common import LONGHORN_NAMESPACE

# The dictionaries use float type of value because the value obtained from
# prometheus_client is in float type.
Expand Down

0 comments on commit ad718f8

Please sign in to comment.