matrix-org / complement

Matrix compliance test suite
Apache License 2.0
61 stars 52 forks source link

Fix `TestRestrictedRoomsRemoteJoinFailOver` flake due to race #614

Closed squahtx closed 1 year ago

squahtx commented 1 year ago

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 https://github.com/matrix-org/synapse/issues/14986.