Skip to content

Conversation

@Pijukatel
Copy link
Contributor

@Pijukatel Pijukatel commented Dec 8, 2025

Description:

Do run run persist state event every 500 ms to prevent flakiness. It is enough to check the persist state event we send manually and the Crawler final one.

Issues:

Closes: #703

@github-actions github-actions bot added this to the 129th sprint - Tooling team milestone Dec 8, 2025
@github-actions github-actions bot added t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics. labels Dec 8, 2025
@Pijukatel Pijukatel requested a review from vdusek December 8, 2025 15:36
@Pijukatel Pijukatel marked this pull request as ready for review December 8, 2025 16:25
@Pijukatel
Copy link
Contributor Author

Stress tested 1000x times in CI

Copy link
Contributor

@vdusek vdusek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, thanks, one comment

await asyncio.sleep(1)

assert len(persist_state_events_data) >= 3
assert len(persist_state_events_data) >= 2
Copy link
Contributor

@vdusek vdusek Dec 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is enough to check the persist state event we send manually and the Crawler final one.

Could we just please add a comment describing this?

@Pijukatel Pijukatel merged commit 1b5c7c0 into master Dec 9, 2025
46 of 48 checks passed
@Pijukatel Pijukatel deleted the fix-flaky-test branch December 9, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test test_actor_handles_migrating_event_correctly is flaky

3 participants