Merge pull request #233 from del-zhenwu/0.5.3

Update test case: version to 0.5.3 & mix case level
This commit is contained in:
Jin Hai 2019-11-07 15:22:23 +08:00 committed by GitHub
commit b4c1825236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View File

@ -99,7 +99,7 @@
<dependency>
<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java</artifactId>
<version>0.2.0-SNAPSHOT</version>
<version>0.2.2</version>
</dependency>
<!-- <dependency>-->
@ -134,4 +134,4 @@
</dependencies>
</project>
</project>

View File

@ -26,6 +26,7 @@ index_params = {'index_type': IndexType.IVFLAT, 'nlist': 16384}
class TestMixBase:
# TODO: enable
@pytest.mark.level(2)
def test_search_during_createIndex(self, args):
loops = 100000
table = gen_unique_str()
@ -180,4 +181,4 @@ def check_result(result, id):
if len(result) >= 5:
return id in [result[0].id, result[1].id, result[2].id, result[3].id, result[4].id]
else:
return id in (i.id for i in result)
return id in (i.id for i in result)

View File

@ -1,7 +1,7 @@
import logging
import pytest
__version__ = '0.5.1'
__version__ = '0.5.3'
class TestPing: