Remove test.template (#1129)

* Update framework

* remove files

* Remove files

* Remove ann-acc cases && Update java-sdk cases

* change cn to en

* [skip ci] remove doc test

* [skip ci] change cn to en

* Case stability

* Add mail notification when test failed

* Add main notification

* Add main notification

* gen milvus instance from utils

* Distable case with multiprocess

* Add mail notification when nightly test failed

* add milvus handler param

* add http handler

* Remove test.template

Co-authored-by: quicksilver <zhifeng.zhang@zilliz.com>
pull/1095/head
del-zhenwu 2020-02-08 11:06:01 +08:00 committed by GitHub
parent 829cb4bbec
commit effb934d77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 41 deletions

View File

@ -1,41 +0,0 @@
'''
Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
Unauthorized copying of this file, via any medium is strictly prohibited.
Proprietary and confidential.
'''
'''
Test Description:
This document is only a template to show how to write a auto-test script
本文档仅仅是个展示如何编写自动化测试脚本的模板
'''
import pytest
from milvus import Milvus
class TestConnection:
def test_connect_localhost(self):
"""
TestCase1.1
Test target: This case is to check if the server can be connected.
Test method: Call API: milvus.connect to connect local milvus server, ip address: 127.0.0.1 and port: 19530, check the return status
Expectation: Return status is OK.
测试目的:本用例测试客户端是否可以与服务器建立连接
测试方法调用SDK API: milvus.connect方法连接本地服务器IP地址127.0.0.1端口19530检查调用返回状态
期望结果返回状态是OK
"""
milvus = Milvus()
milvus.connect(host='127.0.0.1', port='19530')
assert milvus.connected