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

Update tests to use the new federation transaction handler #48

Merged
merged 1 commit into from
Dec 11, 2020

Conversation

anoadragon453
Copy link
Member

@anoadragon453 anoadragon453 commented Dec 7, 2020

Updates the following tests to use the new transaction handler introduced in #47:

  • TestOutboundFederationSend - This test failed with Synapse with the inline transaction handler. Not entirely sure why, the handler function was just never called.
  • TestOutboundFederationIgnoresMissingEventWithBadJSONForRoomVersion6 - Synapse will attempt to send presence to the remote homeserver. The test would fail if not expecting this.

Based on #47.

Update TestOutboundFederationSend and
TestOutboundFederationIgnoresMissingEventWithBadJSONForRoomVersion6
to use the new federation transaction handler.
@anoadragon453 anoadragon453 marked this pull request as ready for review December 8, 2020 14:19
@anoadragon453 anoadragon453 merged commit 3e39376 into master Dec 11, 2020
@anoadragon453 anoadragon453 deleted the anoa/use_new_federation_handler branch December 11, 2020 15:25
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