Skip to content

Fix racy internal test#248

Merged
richvdh merged 1 commit into
mainfrom
rav/fix_racy_client_test
Jun 23, 2026
Merged

Fix racy internal test#248
richvdh merged 1 commit into
mainfrom
rav/fix_racy_client_test

Conversation

@richvdh

@richvdh richvdh commented Jun 22, 2026

Copy link
Copy Markdown
Member

One of the internal tests relies on receiving all the events from sliding sync. However, this doens't actually happen unless you set up a subscription to the room (otherwise, a timeline limit of 1 is applied, which means that if you don't sync fast enough you can miss an event).

So, add the infrastructure for setting up a subscription and use it.

Fixes: #246

One of the internal tests relies on receiving all the events from sliding
sync. However, this doens't actually happen unless you set up a subscription to
the room (otherwise, a timeline limit of 1 is applied, which means that if you
don't sync fast enough you can miss an event).

So, add the infrastructure for setting up a subscription and use it.

Fixes: #246
@richvdh

richvdh commented Jun 23, 2026

Copy link
Copy Markdown
Member Author

Test flake reported as #249

@richvdh richvdh merged commit a2115ae into main Jun 23, 2026
5 of 6 checks passed
@richvdh richvdh deleted the rav/fix_racy_client_test branch June 23, 2026 09:45
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.

Flaky test: TestReceiveTimeline/live_events_rust

2 participants