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

Add regression tests for synapse#5269 #615

Merged
merged 2 commits into from
Jun 3, 2019

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston requested a review from a team May 28, 2019 13:51
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

generally lgtm. some nitpicking about the comments.

tests/50federation/52soft-fail.pl Outdated Show resolved Hide resolved
tests/50federation/52soft-fail.pl Outdated Show resolved Hide resolved
tests/50federation/52soft-fail.pl Outdated Show resolved Hide resolved
tests/50federation/52soft-fail.pl Outdated Show resolved Hide resolved
tests/50federation/52soft-fail.pl Outdated Show resolved Hide resolved
# PL1 = creator of room blocks SF event sending
# M1 = remote user sends a permitted message
# SF1 = remote user sends a soft-failed message
# SF2 = remote user sends a soft-failed message
Copy link
Member

Choose a reason for hiding this comment

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

I think SF2 is unnecessary in this test? you could get rid of it, if you could be bothered.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, ish, though it validates the logic a bit better since the test then checks the correct handling of chains of soft failed events.

Co-Authored-By: Richard van der Hoff <[email protected]>
@erikjohnston erikjohnston merged commit 9838155 into develop Jun 3, 2019
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