Commit e426056
fix: resolve race condition in concurrent heartbeat test
- Reduce sleep time from 0.1s to 0.05s to avoid heartbeat cleanup race condition
- Prevent heartbeat manager from cleaning up sessions during test assertion
- Cleanup occurs at missed_threshold * heartbeat_interval = 2 * 0.05s = 0.1s
- Test now sleeps for 0.05s, well under the 0.1s cleanup threshold
Resolves CI failure: tests/test_heartbeat.py::TestHeartbeatManager::test_concurrent_heartbeats
All 674 tests now pass consistently in CI environment across Python 3.10, 3.11, 3.12
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent f5cf111 commit e426056
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
0 commit comments