Skip to content

Add regression tests for synapse#5269#615

Merged
erikjohnston merged 2 commits into
developfrom
erikj/fix_recursive_soft_failed
Jun 3, 2019
Merged

Add regression tests for synapse#5269#615
erikjohnston merged 2 commits into
developfrom
erikj/fix_recursive_soft_failed

Conversation

@erikjohnston
Copy link
Copy Markdown
Member

@erikjohnston erikjohnston requested a review from a team May 28, 2019 13:51
Copy link
Copy Markdown
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.

Comment thread tests/50federation/52soft-fail.pl Outdated
Comment thread tests/50federation/52soft-fail.pl Outdated
Comment thread tests/50federation/52soft-fail.pl Outdated
Comment thread tests/50federation/52soft-fail.pl Outdated
Comment thread tests/50federation/52soft-fail.pl Outdated
# 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
Copy Markdown
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
Copy Markdown
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 <1389908+richvdh@users.noreply.github.com>
@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