Files
act_runner/internal/app/poll/poller_test.go
Bo-Yi Wu a60030390d test(poll): add concurrency test for single-poller capacity control
- Introduce TaskRunner interface to decouple Poller from concrete run.Runner
- Add TestPoller_ConcurrencyLimitedByCapacity verifying max concurrent
  tasks respects capacity and FetchTask is never called concurrently
- Mock runner respects context cancellation for proper shutdown testing
2026-04-18 11:41:24 +08:00

6.3 KiB