Add MultiQueryNodes tag for resource group (#22527)

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
pull/22545/head
yanliang567 2023-03-02 19:07:49 +08:00 committed by GitHub
parent 500aede384
commit 7c9d140629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 586 additions and 175 deletions

View File

@ -56,7 +56,9 @@ def gen_unique_str(str_value=None):
return "test_" + prefix if str_value is None else str_value + "_" + prefix
def gen_str_by_length(length=8):
def gen_str_by_length(length=8, letters_only=False):
if letters_only:
return "".join(random.choice(string.ascii_letters) for _ in range(length))
return "".join(random.choice(string.ascii_letters + string.digits) for _ in range(length))

View File

@ -256,3 +256,4 @@ class CaseLabel:
L3 = "L3"
Loadbalance = "Loadbalance" # loadbalance testcases which need to be run in multi query nodes
ClusterOnly = "ClusterOnly" # For functions only suitable to cluster mode
MultiQueryNodes = "MultiQueryNodes" # for 8 query nodes configs tests, such as resource group

File diff suppressed because it is too large Load Diff