Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
210310676
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2021
210310676
Commits
47688dce
Commit
47688dce
authored
4 years ago
by
Cai Yudong
Committed by
yefu.chen
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Mark invalid testcases
Signed-off-by:
Cai Yudong
<
yudong.cai@zilliz.com
>
parent
c2734fa5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/python_test/entity/test_search.py
+2
-2
2 additions, 2 deletions
tests/python_test/entity/test_search.py
tests/python_test/test_index.py
+2
-2
2 additions, 2 deletions
tests/python_test/test_index.py
with
4 additions
and
4 deletions
tests/python_test/entity/test_search.py
+
2
−
2
View file @
47688dce
...
...
@@ -188,7 +188,7 @@ class TestSearchBase:
res
=
connect
.
search
(
collection
,
query
)
@pytest.mark.skip
(
"
r0.3-test
"
)
def
test_search_field
(
self
,
connect
,
collection
,
get_top_k
,
get_nq
):
def
_
test_search_field
(
self
,
connect
,
collection
,
get_top_k
,
get_nq
):
'''
target: test basic search function, all the search params is correct, change top-k value
method: search with the given vectors, check the result
...
...
@@ -956,7 +956,7 @@ class TestSearchBase:
assert
res
[
i
].
_distances
[
1
]
>
epsilon
@pytest.mark.skip
(
"
r0.3-test
"
)
def
test_query_entities_with_field_less_than_top_k
(
self
,
connect
,
id_collection
):
def
_
test_query_entities_with_field_less_than_top_k
(
self
,
connect
,
id_collection
):
"""
target: test search with field, and let return entities less than topk
method: insert entities and build ivf_ index, and search with field, n_probe=1
...
...
This diff is collapsed.
Click to expand it.
tests/python_test/test_index.py
+
2
−
2
View file @
47688dce
...
...
@@ -699,7 +699,7 @@ class TestIndexBinary:
***************************************************************
"""
@pytest.mark.skip
(
"
repeat with test_create_index binary
"
)
def
test_get_index_info
(
self
,
connect
,
binary_collection
,
get_jaccard_index
):
def
_
test_get_index_info
(
self
,
connect
,
binary_collection
,
get_jaccard_index
):
'''
target: test describe index interface
method: create collection and add entities in it, create index, call describe index
...
...
@@ -719,7 +719,7 @@ class TestIndexBinary:
assert
file
[
"
index_type
"
]
==
get_jaccard_index
[
"
index_type
"
]
@pytest.mark.skip
(
"
repeat with test_create_index_partition binary
"
)
def
test_get_index_info_partition
(
self
,
connect
,
binary_collection
,
get_jaccard_index
):
def
_
test_get_index_info_partition
(
self
,
connect
,
binary_collection
,
get_jaccard_index
):
'''
target: test describe index interface
method: create collection, create partition and add entities in it, create index, call describe index
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment