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 remote invites are correctly pushed #1356

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston commented Jun 23, 2023

@erikjohnston erikjohnston marked this pull request as ready for review June 23, 2023 10:52
@erikjohnston erikjohnston requested a review from a team as a code owner June 23, 2023 10:52
@erikjohnston
Copy link
Member Author

I don't understand why there are new failures for Dendrite?

@@ -630,3 +630,103 @@ sub check_received_push_with_name
);
});
};

test "Invites over federation are correctly pushed",
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we making more Sytest tests because there isn't a good way to test push gateway stuff in Complement?

@@ -630,3 +630,103 @@ sub check_received_push_with_name
);
});
};

test "Invites over federation are correctly pushed",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
test "Invites over federation are correctly pushed",
test "Invites over federation are correctly pushed (without room_name)",

};


test "Invites over federation are correctly pushed with name",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
test "Invites over federation are correctly pushed with name",
test "Invites over federation are correctly pushed (with room_name)",

Copy link
Contributor

@MadLittleMods MadLittleMods left a comment

Choose a reason for hiding this comment

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

Looks ok, not sure I'd pick up on any Perl intricacies/pitfalls if there was any

@erikjohnston erikjohnston merged commit 5508cbc into develop Jul 12, 2023
7 of 9 checks passed
@erikjohnston erikjohnston deleted the erikj/fix_invites_over_federation branch July 12, 2023 11:02
S7evinK added a commit to matrix-org/dendrite that referenced this pull request Sep 26, 2023
The tests added in matrix-org/sytest#1356
uncovered that we don't consider invitations as events the userapi
should handle and thus just don't notify the client about any new
invitations received over federation.
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.

None yet

2 participants