
zhuwenxingandGitHub
743da442b1
test: add XGBoost FunctionChain coverage (#51545)
## What changed
- Add Python MilvusClient coverage for XGBoost
`FunctionChainStage.L0_RERANK`.
- Validate realistic `2 x 3000` indexed sealed segments plus `1 x 3000`
growing segment data topology.
- Cover FLAT, HNSW, and DISKANN indexes; filtered, range, group-by,
iterator, and hybrid-search behavior.
- Verify score and field correctness across numeric/null/binary
features, delete, and upsert mutations.
- Cover invalid stage/model contracts, concurrency, scale, cache
identity, restart/failover, rolling update, and chaos scenarios.
- Classify the suite into L0/L1/L2/L3 and replace the iterator xfail
with its code `1100` error contract.
Related issues: #51306, #51310, #51332
## Validation
- `ruff format --check
tests/python_client/milvus_client/test_milvus_client_function_chain.py`
- `ruff check
tests/python_client/milvus_client/test_milvus_client_function_chain.py`
- `python -m py_compile
tests/python_client/milvus_client/test_milvus_client_function_chain.py`
- `pytest --collect-only`: 37 cases collected
- L0: 1 passed
- L1: 8 passed
- L2: 4 passed
- Iterator regression: 1 passed against master image `0671607`
An initial combined serial run observed a DISKANN load timeout with a
loaded segment reporting `index_id=0`; the unchanged isolated L2 rerun
passed. The strict assertion remains in place.
---------
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2026-07-21 16:44:43 +08:00
..
2026-07-09 17:46:34 +08:00
2026-07-13 20:12:37 +08:00
2026-07-09 17:38:41 +08:00
2026-07-20 15:18:42 +08:00
2026-06-12 15:04:51 -07:00
2026-05-29 13:26:15 +08:00
2026-06-12 15:04:51 -07:00
2026-06-01 10:36:14 +08:00
2026-06-25 14:28:28 +08:00
2026-05-08 17:36:12 +08:00
2025-05-28 22:26:28 +08:00
2026-05-19 14:16:29 +08:00
2025-10-20 16:32:03 +08:00
2026-05-08 17:36:12 +08:00
2026-04-23 18:05:45 +08:00
2026-07-09 19:30:35 +08:00
2026-07-13 17:50:36 +08:00
2026-07-16 16:12:42 +08:00
2026-07-21 16:44:43 +08:00
2026-06-12 15:04:51 -07:00
2026-06-12 15:04:51 -07:00
2026-05-11 10:24:09 +08:00
2026-06-12 15:04:51 -07:00
2026-06-25 14:28:28 +08:00
2026-05-08 17:36:12 +08:00
2026-04-17 02:11:44 +08:00
2026-07-16 16:12:42 +08:00
2026-05-15 12:56:27 +08:00
2026-07-20 15:18:42 +08:00
2026-06-10 10:26:19 +08:00
2026-07-09 17:38:41 +08:00
2026-06-12 15:04:51 -07:00
2026-07-20 18:44:43 +08:00
2026-07-02 15:36:35 +08:00
2026-05-09 16:00:08 +08:00
2026-06-12 15:04:51 -07:00
2026-07-20 15:18:42 +08:00
2026-07-20 15:18:42 +08:00
2026-04-30 15:47:51 +08:00
2026-06-16 22:30:31 +08:00
2026-06-12 15:04:51 -07:00
2026-04-30 15:47:51 +08:00
2026-06-16 22:30:31 +08:00
2026-04-30 15:47:51 +08:00
2026-06-12 15:04:51 -07:00
2026-06-12 15:04:51 -07:00
2026-04-30 15:47:51 +08:00
2026-04-30 15:47:51 +08:00
2026-07-02 16:22:29 +08:00
2026-05-22 11:34:30 +08:00
2026-07-01 10:48:29 +08:00
2026-04-30 15:47:51 +08:00
2026-07-06 15:54:29 +08:00
2026-06-12 15:04:51 -07:00
2026-07-01 10:48:29 +08:00
2026-07-20 15:18:42 +08:00
2026-06-25 17:10:26 +08:00
2026-06-05 14:12:18 +08:00
2026-07-08 11:22:33 +08:00
2026-07-20 15:18:42 +08:00
2026-07-20 15:18:42 +08:00
2026-07-08 11:22:33 +08:00
2026-07-17 21:10:39 +08:00
2026-07-07 10:42:30 +08:00
2026-06-12 15:04:51 -07:00
2026-04-23 18:05:45 +08:00
2026-06-25 14:28:28 +08:00