-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Share one collection for group search tests #36427
test: Share one collection for group search tests #36427
Conversation
Signed-off-by: yanliang567 <[email protected]>
@@ -2,10 +2,14 @@ | |||
import math # do not remove `math` | |||
import pytest | |||
from pymilvus import DataType, AnnSearchRequest, RRFRanker | |||
import numpy as np | |||
import random | |||
from pymilvus import AnnSearchRequest, RRFRanker, WeightedRanker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Import pymilvus are repeated
@@ -1156,3 +1160,349 @@ def test_bitmap_upsert_and_delete(self, request): | |||
# re-query | |||
self.collection_wrap.query(expr=expr, output_fields=scalar_fields, check_task=CheckTasks.check_query_results, | |||
check_items={"exp_res": []}) | |||
|
|||
|
|||
@pytest.mark.xdist_group("TestMultiVectorsGroupSearch") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The group name can be the same as the class name for easy searching
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wangting0128, yanliang567 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
related issue: #36037 pr: #36427 Signed-off-by: yanliang567 <[email protected]>
related issue: #36407