From edae89e91b7c76bf79835efaba90b86885065add Mon Sep 17 00:00:00 2001 From: ThreadDao Date: Thu, 30 Dec 2021 14:26:06 +0800 Subject: [PATCH] [skip e2e] Reformat chaos constants file (#14583) Signed-off-by: ThreadDao --- tests/python_client/chaos/constants.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/python_client/chaos/constants.py b/tests/python_client/chaos/constants.py index f3f2965735..12b67cb321 100644 --- a/tests/python_client/chaos/constants.py +++ b/tests/python_client/chaos/constants.py @@ -6,18 +6,18 @@ RAW_DATA_DIR = "/test/milvus/raw_data/" DEFAULT_DEPLOY_MODE = "single" -CHAOS_NAMESPACE = "chaos-testing" # namespace of chaos -CHAOS_API_VERSION = 'chaos-mesh.org/v1alpha1' # chaos mesh api version -CHAOS_GROUP = 'chaos-mesh.org' # chao mesh group -CHAOS_VERSION = 'v1alpha1' # chao mesh version +CHAOS_NAMESPACE = "chaos-testing" # namespace of chaos +CHAOS_API_VERSION = 'chaos-mesh.org/v1alpha1' # chaos mesh api version +CHAOS_GROUP = 'chaos-mesh.org' # chao mesh group +CHAOS_VERSION = 'v1alpha1' # chao mesh version SUCC = 'succ' FAIL = 'fail' -DELTA_PER_INS = 10 # entities per insert -ENTITIES_FOR_SEARCH = 3000 # entities for search_collection +DELTA_PER_INS = 10 # entities per insert +ENTITIES_FOR_SEARCH = 3000 # entities for search_collection -CHAOS_CONFIG_ENV = 'CHAOS_CONFIG_PATH' # env variables for chao path -TESTS_CONFIG_LOCATION = 'chaos_objects/pod_kill/' # path to the chaos CRD -ALL_CHAOS_YAMLS = 'chaos_datanode*.yaml' # chaos file name(s) to be run against -WAIT_PER_OP = 10 # time to wait in seconds between operations -CHAOS_DURATION = 120 # chaos duration time in seconds +CHAOS_CONFIG_ENV = 'CHAOS_CONFIG_PATH' # env variables for chao path +TESTS_CONFIG_LOCATION = 'chaos_objects/pod_kill/' # path to the chaos CRD +ALL_CHAOS_YAMLS = 'chaos_datanode*.yaml' # chaos file name(s) to be run against +WAIT_PER_OP = 10 # time to wait in seconds between operations +CHAOS_DURATION = 120 # chaos duration time in seconds DEFAULT_INDEX_PARAM = {"index_type": "IVF_SQ8", "metric_type": "L2", "params": {"nlist": 64}}