Skip to content

fix(tests): Fix flaky test_issue_multiple_status_changes batch timing#109020

Closed
joshuarli wants to merge 2 commits intomasterfrom
fix/flaky-test-multiple-status-changes
Closed

fix(tests): Fix flaky test_issue_multiple_status_changes batch timing#109020
joshuarli wants to merge 2 commits intomasterfrom
fix/flaky-test-multiple-status-changes

Conversation

@joshuarli
Copy link
Copy Markdown
Member

Summary

  • Change max_batch_time from 1 to sys.maxsize to prevent time-based batch flushing from splitting messages into multiple batches on slow CI, matching the pattern used by test_issue_occurrence_status_change_mix

Fixes #108997

Test plan

  • Test passes 10/10 times locally

Change max_batch_time from 1 to sys.maxsize to prevent time-based batch
flushing from splitting messages into multiple batches on slow CI.

Fixes #108997
@joshuarli
Copy link
Copy Markdown
Member Author

maybe relax a bit and make it a more reasonable amount of time, and add a code comment about why

@getsantry
Copy link
Copy Markdown
Contributor

getsantry Bot commented Mar 18, 2026

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry Bot added the Stale label Mar 18, 2026
@getsantry getsantry Bot closed this Mar 26, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky test: tests/sentry/issues/test_run.py::TestBatchedOccurrenceConsumer::test_issue_multiple_status_changes

1 participant