Skip to content

fix: de-flake celery retry test#54

Merged
snopoke merged 1 commit into
mainfrom
sk/deflake-celery-retry
Jul 9, 2026
Merged

fix: de-flake celery retry test#54
snopoke merged 1 commit into
mainfrom
sk/deflake-celery-retry

Conversation

@snopoke

@snopoke snopoke commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

test_celery_task_retry and test_task_signature assert on the final SUCCESS update count, which the task_success signal fires asynchronously — it can lag behind result.get() returning. Applies the existing _wait_for_call_count helper so the assertions wait for the count.

Fixes the Python 3.10 flake on main.

🤖 Generated with Claude Code

task_success fires async; wait for the update count before asserting.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@snopoke snopoke merged commit bac3945 into main Jul 9, 2026
6 checks 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