milvus/tests/python_client/testcases
Xiaofan 23d2553e4e
test: fix flaky test_hybrid_search_as_search on ARM (#48173)
## What does this PR do?

Fix a flaky test in `test_milvus_client_hybrid_search_v2.py`.

## Why?

`test_hybrid_search_as_search` asserts that hybrid search (single field
+ WeightedRanker) returns the same ordered result list as a regular
search. When two results have tied scores, tie-breaking order is
non-deterministic across architectures and runs due to floating-point
differences — this causes spurious failures on ARM e2e CI.

Comparing ID sets instead of ordered lists preserves the intent of the
test (same result candidates returned) while being robust to ordering of
ties.

---------

Signed-off-by: xiaofanluan <xiaofan.luan@zilliz.com>
2026-03-17 10:25:26 +08:00
..
async_milvus_client test: create e2e case for truncate collection (#47035) 2026-01-19 19:19:29 +08:00
indexes test: enable search by ids on null vectors tests for #47065 (#47559) 2026-02-05 14:17:49 +08:00
stability
test_alias.py
test_bulk_insert.py test: use minio_bucket parameter in bulk insert TEI tests (#46862) 2026-01-08 16:31:26 +08:00
test_collection.py
test_compaction.py
test_concurrent.py
test_connection.py test: Increase PyMilvus version to 2.7.0rc122 for master branch (#47300) 2026-01-27 16:31:32 +08:00
test_database.py
test_delete.py
test_e2e.py
test_field_partial_load.py
test_full_text_search.py test: enable search by ids on null vectors tests for #47065 (#47559) 2026-02-05 14:17:49 +08:00
test_high_level_api.py
test_index.py
test_insert.py test: migrate advanced upsert valid cases from ORM (#47265) 2026-01-23 14:41:30 +08:00
test_issues.py
test_mix_scenes.py
test_partition.py test: Migrate partition test cases from v1 ORM to v2 MilvusClient (#48138) 2026-03-12 17:01:24 +08:00
test_phrase_match.py
test_query.py test: fix flaky test_hybrid_search_as_search on ARM (#48173) 2026-03-17 10:25:26 +08:00
test_query_aggregation.py fix: empty result set crashes Milvus on GROUP BY aggregation query (#48050) 2026-03-10 22:31:24 +08:00
test_query_iterator.py
test_resourcegroup.py
test_text_embedding_function_e2e.py test: add test cases for alter function with invalid mock (#46995) 2026-02-03 16:29:59 +08:00
test_utility.py feat: support query aggregtion(#36380) (#44394) 2026-01-06 16:29:25 +08:00