Skip to content

test: [cp3.0] Fix nested search aggregation expectations - #55244

Open
yanliang567 wants to merge 1 commit into
milvus-io:3.0from
yanliang567:test/cp3.0-issue-55208-aggregation-flaky
Open

yanliang567 wants to merge 1 commit into
milvus-io:3.0from
yanliang567:test/cp3.0-issue-55208-aggregation-flaky

Conversation

@yanliang567

Copy link
Copy Markdown
Contributor

pr: #55194
issue: #55208

Cherry-pick the search aggregation test changes from #55194 to 3.0. The unrelated FileResource changes are excluded.

The nested aggregation selects four composite (category, brand) candidates, which can all belong to one category. Replace the random-vector expectation of exactly two parent buckets with deterministic cases covering both one and two parents. Preserve filter, metric, and top-hits ordering checks, and assert the expected parent keys and counts.

Validation on harbor.milvus.io/milvusdb/milvus:3.0-20261106-6b52c08e (standalone, Woodpecker; PyMilvus 3.0.3rc10):

Cherry-pick the search aggregation test changes from milvus-io#55194 only; exclude
the unrelated FileResource changes. Use deterministic vectors to cover
four composite candidates spanning one or two parent categories while
preserving filter, metrics, and top-hits checks.

pr: milvus-io#55194
issue: milvus-io#55208

(cherry picked from commit 178265d)

Signed-off-by: chyezh <chyezh@outlook.com>
Signed-off-by: Yanliang Qiao <yanliang.qiao@zilliz.com>
@sre-ci-robot sre-ci-robot added the size/M Denotes a PR that changes 30-99 lines. label Nov 6, 2026
@sre-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from yanliang567 after the PR has been reviewed.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot

Copy link
Copy Markdown
Contributor

[ci-v2-notice]
Notice: ci-v2 system is enabled for this PR (3.0 branch).

To rerun ci-v2 checks, comment with:

  • /ci-rerun-code-check-macos // for Code Checker MacOS (GitHub Actions)
  • /ci-rerun-build-ut-cov // for ci-v2/build-ut-cov (build + unit tests)
  • /ci-rerun-e2e-amd // for ci-v2/e2e-amd (e2e tests)
  • /ci-rerun-e2e-dist-wp // for ci-v2/e2e-dist-wp (Tencent distributed woodpecker-service boundary)
  • /ci-rerun-gosdk // for ci-v2/go-sdk (Go SDK E2E tests)
  • /ci-rerun-gosdk-std // for ci-v2/go-sdk-std (Go SDK E2E, standalone)
  • /ci-rerun-gosdk-dist-wp // for ci-v2/go-sdk-dist-wp (distributed + Woodpecker service)

If you have any questions or requests, please contact @zhikunyao.

@sre-ci-robot sre-ci-robot added the do-not-merge/need-milestone generate by v2-label-manager label Nov 6, 2026
@sre-ci-robot

Copy link
Copy Markdown
Contributor

[INFO] PR Label Summary by Default
[SUCCESS] PR #55194 merged to master

[WARNING] Milestone not set

You can set milestone by commenting:
/set-milestone
Example:
/set-milestone 2.5.0

Use /refresh-label to update related check and label manually

@mergify mergify Bot added the ci-passed label Nov 6, 2026
@yanliang567 yanliang567 added this to the 3.0.5 milestone Nov 8, 2026
@yanliang567 yanliang567 removed the do-not-merge/need-milestone generate by v2-label-manager label Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/test ci-passed dco-passed DCO check passed. kind/test sig/testing size/M Denotes a PR that changes 30-99 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants