Skip to content

Commit 79f1833

Browse files
essos-botclaude
andauthored
[CI]【Hackathon 9th Sprint No.51】NO.51 功能模块 fastdeploy/scheduler/dp_scheduler.py 单测补充 (#5046)
* update test utils * Add comprehensive unit tests for DP scheduler functionality - Add test_dp_scheduler.py with full-featured unit tests supporting both normal and standalone modes - Add test_dp_scheduler_simple.py with lightweight mock-based tests for easy execution - Add comprehensive README.md documenting test architecture and usage - Tests cover DPLocalScheduler and DPScheduler classes with focus on: - Request lifecycle management and TTL support - Response handling and routing - Resource-based scheduling and constraint handling - Multi-threading and concurrent operations - Splitwise role support (prefill vs decode) - Error handling and edge cases - Thread-safe operations with proper synchronization 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Remove tests/multimodal/test_utils.py This file appears to be duplicate or misplaced, removing it to clean up the test structure. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * update * fix * rm unused file --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0b0f2e3 commit 79f1833

File tree

1 file changed

+666
-0
lines changed

1 file changed

+666
-0
lines changed

0 commit comments

Comments
 (0)