Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster room joins: Deflake events-arriving-before-prev_events test again #602

Conversation

squahtx
Copy link
Contributor

@squahtx squahtx commented Feb 9, 2023

We previously attempted to deflake this test in #490 by waiting longer
for the 100 outlier events to be persisted. This turned out to be
insufficient, as calculating the full state for all 100 events can also
take a while and delay the room's appearance in /sync.

Raise the timeout for waiting for the room to appear in /sync from 5
seconds to 20 seconds. Going off the logs of the failing test runs, it
takes 6 to 10 seconds for the room to appear in /sync.


Fixes matrix-org/synapse#13777.

We previously attempted to deflake this test in #490 by waiting longer
for the 100 outlier events to be persisted. This turned out to be
insufficient, as calculating the full state for all 100 events can also
take a while and delay the room's appearance in /sync.

Raise the timeout for waiting for the room to appear in /sync from 5
seconds to 20 seconds. Going off the logs of the failing test runs, it
takes 6 to 10 seconds for the room to appear in /sync.
@squahtx squahtx requested review from a team as code owners February 9, 2023 10:15
@squahtx squahtx merged commit 817b08f into main Feb 9, 2023
@squahtx squahtx deleted the squah/faster_room_joins_fix_events_arriving_before_prev_events_test_flake_2 branch February 9, 2023 16:02
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.

Complement TestPartialStateJoin/Resync_completes_even_when_events_arrive_before_their_prev_events is flaky
2 participants