未验证 提交 c025a7ee 编写于 作者: Y yanliang567 提交者: GitHub

Increate build index timeout in ci tests (#12709)

Signed-off-by: Nyanliang567 <yanliang.qiao@zilliz.com>
上级 59104d7e
......@@ -178,7 +178,7 @@ class ApiCollectionWrapper:
return res, check_result
def create_index(self, field_name, index_params, check_task=None, check_items=None, **kwargs):
timeout = kwargs.get("timeout", TIMEOUT)
timeout = kwargs.get("timeout", TIMEOUT * 2)
kwargs.update({"timeout": timeout})
func_name = sys._getframe().f_code.co_name
......
......@@ -13,6 +13,8 @@ class ApiIndexWrapper:
index = None
def init_index(self, collection, field_name, index_params, check_task=None, check_items=None, **kwargs):
timeout = kwargs.get("timeout", TIMEOUT * 2)
kwargs.update({"timeout": timeout})
""" In order to distinguish the same name of index """
func_name = sys._getframe().f_code.co_name
res, is_succ = api_request([Index, collection, field_name, index_params], **kwargs)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册