Skip to content

Fix flaky concurrent-message busy test (CI timing race) - #4

Merged
mrSamDev merged 1 commit into
mainfrom
fix/flaky-busy-test
Aug 21, 2026
Merged

Fix flaky concurrent-message busy test (CI timing race)#4
mrSamDev merged 1 commit into
mainfrom
fix/flaky-busy-test

Conversation

@mrSamDev

Copy link
Copy Markdown
Owner

CI failed on test_concurrent_message_during_generation_is_busy — a fixed asyncio.sleep(0.1) didn't guarantee the session reached PROCESSING on slow CI runners, so the concurrent photo was misread as a password attempt. Replaced the fixed sleep with a poll loop waiting for BotState.PROCESSING. Verified locally: passes 5/5, full suite green.

@mrSamDev
mrSamDev merged commit b6f6b16 into main Aug 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant