mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 19:08:30 +08:00
dbbe6557ed
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
32 lines
782 B
Python
32 lines
782 B
Python
import logging
|
|
|
|
import pytest
|
|
import functools
|
|
import socket
|
|
|
|
import common.common_type as ct
|
|
import common.common_func as cf
|
|
from utils.util_log import test_log as log
|
|
from common.common_func import param_info
|
|
from check.param_check import ip_check, number_check
|
|
from config.log_config import log_config
|
|
from utils.util_pymilvus import get_milvus, gen_unique_str, gen_default_fields, gen_binary_default_fields
|
|
from pymilvus.orm.types import CONSISTENCY_STRONG
|
|
|
|
timeout = 60
|
|
dimension = 128
|
|
delete_timeout = 60
|
|
|
|
|
|
def pytest_addoption(parser):
|
|
|
|
parser.addoption('--data_size', type='int', action='store', default=3000, help="data size for deploy test")
|
|
|
|
|
|
@pytest.fixture
|
|
def data_size(request):
|
|
return request.config.getoption("--data_size")
|
|
|
|
# add a fixture for all index?
|
|
|