summaryrefslogtreecommitdiff
path: root/web/test
diff options
context:
space:
mode:
authorClaudomator Agent <agent@claudomator>2026-03-09 07:29:54 +0000
committerClaudomator Agent <agent@claudomator>2026-03-09 07:30:04 +0000
commitb33566b534185a444a392c36e3f307a5ecad8d4b (patch)
treee666877ad50c52014d476e6f8bb66d109ec669d5 /web/test
parent3b4c50ead2885e9caef85193b68c12ccdb671ef1 (diff)
api: add configurable mockRunner and async error-path tests
Replace the no-op mockRunner in server_test.go with a configurable version that supports err and sleep fields. Add testServerWithRunner helper and a pollState utility for async assertions. Add three new tests that exercise the pool's error paths end-to-end: - TestRunTask_AgentFails_TaskSetToFailed - TestRunTask_AgentTimesOut_TaskSetToTimedOut - TestRunTask_AgentCancelled_TaskSetToCancelled Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'web/test')
0 files changed, 0 insertions, 0 deletions