Skip to content

Fix TestRestrictedRoomsRemoteJoinFailOver flake due to race#614

Merged
squahtx merged 1 commit intomainfrom
squah/deflake_restricted_rooms_remote_join_failover
Feb 16, 2023
Merged

Fix TestRestrictedRoomsRemoteJoinFailOver flake due to race#614
squahtx merged 1 commit intomainfrom
squah/deflake_restricted_rooms_remote_join_failover

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 seanq@matrix.org


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 <seanq@matrix.org>
@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