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

Fix TestRestrictedRoomsRemoteJoinFailOver flake due to race #614

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

squahtx
Copy link
Contributor

@squahtx squahtx commented Feb 16, 2023

The TestRestrictedRoomsRemoteJoinFailOver test involves a leave, then
rejoin of a restricted room over federation. Ensure that the remote
homeserver has processed the leave event before trying to rejoin,
otherwise the test will not be testing the intended behaviour.

Signed-off-by: Sean Quah [email protected]


Fixes matrix-org/synapse#14986.

The `TestRestrictedRoomsRemoteJoinFailOver` test involves a leave, then
rejoin of a restricted room over federation. Ensure that the remote
homeserver has processed the leave event before trying to rejoin,
otherwise the test will not be testing the intended behaviour.

Signed-off-by: Sean Quah <[email protected]>
@squahtx squahtx merged commit 338822f into main Feb 16, 2023
@squahtx squahtx deleted the squah/deflake_restricted_rooms_remote_join_failover branch February 16, 2023 12:38
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 TestRestrictedRoomsRemoteJoinFailOver is flakey
2 participants