-
Notifications
You must be signed in to change notification settings - Fork 52
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: Add edge case tests for outgoing device list updates #474
Faster room joins: Add edge case tests for outgoing device list updates #474
Conversation
We expect these tests to fail until matrix-org/synapse#13891 is ready. |
c541851
to
e2afad0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic for some of these tests are quite confusing, but I don't have any suggestions on how to make it better :(
|
||
// setupIncorrectlyAcceptedKick joins the homeserver under test to a room, then joins | ||
// @elsie:server2 and sends an invalid event to kick @elsie:server2 from the room. | ||
setupIncorrectlyAcceptedKick := func( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably comment that this causes derek to leave the room?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, let's do that.
Test that outgoing device list updates reach servers incorrectly thought
to not be in a partial state room once the room transitions to full
state.
Built on top of #473.
Best reviewed commit by commit.