Skip to content

Test that Synapse will purge a room during resync - #608

Merged
DMRobertson merged 5 commits into
mainfrom
dmr/purge
Feb 14, 2023
Merged

DMRobertson merged 5 commits into
mainfrom
dmr/purge

Conversation

@DMRobertson

@DMRobertson DMRobertson commented Feb 13, 2023 •

Copy link
Copy Markdown
Contributor

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.

@squahtx squahtx left a comment

Copy link
Copy Markdown
Contributor

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!

Comment thread tests/federation_room_join_partial_state_test.go Outdated
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
@DMRobertson

Copy link
Copy Markdown
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
Copy Markdown
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

@squahtx squahtx left a comment

Copy link
Copy Markdown
Contributor

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