mirror of https://github.com/milvus-io/milvus.git
[test]Reduce test cases for deploy test (#18718)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com> Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/18290/head
parent
030d8fb206
commit
0929c38e33
|
@ -56,10 +56,10 @@ class TestActionFirstDeployment(TestDeployBase):
|
|||
@pytest.mark.tags(CaseLabel.L3)
|
||||
@pytest.mark.parametrize("replica_number", [0, 1, 2])
|
||||
@pytest.mark.parametrize("is_compacted", ["is_compacted", "not_compacted"])
|
||||
@pytest.mark.parametrize("is_deleted", ["is_deleted", "not_deleted"])
|
||||
@pytest.mark.parametrize("is_deleted", ["is_deleted"])
|
||||
@pytest.mark.parametrize("is_string_indexed", ["is_string_indexed", "not_string_indexed"])
|
||||
@pytest.mark.parametrize("is_vector_indexed", ["is_vector_indexed", "not_vector_indexed"])
|
||||
@pytest.mark.parametrize("segment_status", ["only_growing", "only_sealed", "all"])
|
||||
@pytest.mark.parametrize("segment_status", ["only_growing", "all"])
|
||||
@pytest.mark.parametrize("index_type", ["HNSW", "BIN_IVF_FLAT"]) #"IVF_FLAT", "HNSW", "BIN_IVF_FLAT"
|
||||
def test_task_all(self, index_type, is_compacted,
|
||||
segment_status, is_vector_indexed, is_string_indexed, replica_number, is_deleted, data_size):
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
import time
|
||||
import json
|
||||
from collections import defaultdict
|
||||
import pytest
|
||||
|
||||
from base.client_base import TestcaseBase
|
||||
from common import common_func as cf
|
||||
from common import common_type as ct
|
||||
from deploy.common import get_collections
|
||||
from common.common_type import CaseLabel
|
||||
from utils.util_log import test_log as log
|
||||
|
@ -14,7 +10,7 @@ from utils.util_log import test_log as log
|
|||
class TestGetCollections(TestcaseBase):
|
||||
""" Test case of getting all collections """
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L1)
|
||||
@pytest.mark.tags(CaseLabel.L3)
|
||||
def test_get_collections_by_prefix(self,):
|
||||
self._connect()
|
||||
all_collections = self.utility_wrap.list_collections()[0]
|
||||
|
|
Loading…
Reference in New Issue