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

Test that Synapse will purge a room during resync #608

Merged
merged 5 commits into from
Feb 14, 2023
Merged

Conversation

DMRobertson
Copy link
Contributor

@DMRobertson DMRobertson commented Feb 13, 2023

See matrix-org/synapse#15068.

IDK if we want Synapse-specific tests in Synapse, but short of #226 I think this is the least-bad option.

Copy link
Contributor

@squahtx squahtx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test looks good. Thanks for picking this up!

tests/federation_room_join_partial_state_test.go Outdated Show resolved Hide resolved
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
@DMRobertson
Copy link
Contributor Author

There is a problem with this test: the partial state infrastructure in complement checks to see that a partial state has succeeded by querying /members. But that will fail after the room has been purged. Will think on this tomorrow.

@DMRobertson
Copy link
Contributor Author

Thanks Sean for talking this over with me this morning. Could you take another look?

@DMRobertson DMRobertson requested a review from squahtx February 14, 2023 14:22
@DMRobertson DMRobertson requested a review from a team February 14, 2023 16:45
Copy link
Contributor

@squahtx squahtx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@DMRobertson DMRobertson merged commit 67644cd into main Feb 14, 2023
@DMRobertson DMRobertson deleted the dmr/purge branch February 14, 2023 23:42
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.

2 participants