Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
tylergu committed Nov 12, 2023

Verified

This commit was signed with the committer’s verified signature.
tiagolobocastro Tiago Castro
1 parent ab30432 commit 0c95698
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions performance_measurement/measure_performance.py
Original file line number Diff line number Diff line change
@@ -8,6 +8,8 @@
from datetime import datetime

import yaml
from measure_runner import ConditionFuncType, MeasurementRunner
from rabbitmq_inputs import RabbitMQInputGenerator
from zk_inputs import ZooKeeperInputGenerator

from acto import utils
@@ -20,9 +22,6 @@
from acto.post_process.post_chain_inputs import ChainInputs
from acto.utils.preprocess import process_crd

from .measure_runner import ConditionFuncType, MeasurementRunner
from .rabbitmq_inputs import RabbitMQInputGenerator

sys.path.insert(0, os.path.abspath(
os.path.join(os.path.dirname(__file__), '..')))

7 changes: 3 additions & 4 deletions performance_measurement/measure_runner.py
Original file line number Diff line number Diff line change
@@ -7,17 +7,16 @@
import kubernetes
import kubernetes.client.models as k8s_models
import yaml
from check_utils import (check_affinity,
check_persistent_volume_claim_retention_policy,
check_resources, check_tolerations)

from acto.common import kubernetes_client
from acto.kubectl_client.kubectl import KubectlClient
from acto.runner import Runner
from acto.serialization import ActoEncoder
from acto.utils.thread_logger import get_thread_logger

from .check_utils import (check_affinity,
check_persistent_volume_claim_retention_policy,
check_resources, check_tolerations)

ConditionFuncType = Callable[[dict, kubernetes.client.ApiClient, str], bool]


0 comments on commit 0c95698

Please sign in to comment.