wt and GitHub
7aa8f374c0
test: add warmup e2e tests covering async/sync/disable policies at field/collection/index levels ( #48726 )
...
## Summary
- Add `TestMilvusClientWarmupAsync` class with 30+ async warmup test
cases covering field/collection/index level warmup, hasRawData=false
paths (IVF_PQ, IVF_SQ8, sparse), cross-feature combos (mmap, partition,
multi_vector, dynamic, text_match, JSON, add_field), DQL/DML
correctness, and bug-finding cases (cancel/reload, priority chain,
sync-vs-async result identity)
- Fix index-before-insert ordering bug in 4 existing
`TestMilvusClientWarmup` cases
- Add `@pytest.mark.skip` guards for L3 tiered-storage-dependent cases
- Remove unused variables and dead code
## Test plan
- [x] Run `TestMilvusClientWarmup` + `TestMilvusClientWarmupAsync` with
`-n 6 --host=10.104.24.55`
- [x] Result: 131 passed, 6 skipped (L3), 1 failed
(`test_warmup_x_multi_replica` — requires multi-replica cluster,
unrelated to this PR)
- [ ] L3 cases verified separately on tiered storage instance and
`lowPriority=0` instance
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Signed-off-by: wangting0128 <ting.wang@zilliz.com >
2026-04-08 09:37:37 +08:00