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

Correctly return the full auth chain in test #911

Merged
merged 1 commit into from
Jul 10, 2020

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston commented Jul 10, 2020

Synapse now needs the auth chain to be correct: matrix-org/synapse#7817

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.

this doesn't seem to fix the tests, but looks ok.

# not just y's auth_events. It doesn't matter too much
# here though.
map { $_->[0] } @{ $missing_event_y->{auth_events} },
map { $_->{event_id} } @auth_chain,
Copy link
Member

Choose a reason for hiding this comment

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

ftr, this won't work in room v3 or later, though it looks like the whole test needs an update for that anyway. The right way to write this is $room->id_for_event( $_ ).

@erikjohnston erikjohnston merged commit 24bc7c4 into develop Jul 10, 2020
@erikjohnston erikjohnston deleted the erikj/fix_recursion_error branch July 10, 2020 17:15
anoadragon453 added a commit that referenced this pull request Aug 4, 2020
* origin/release-v1.18.0:
  Unbreak dendrite
  Test `/make_join` when applied to an empty room (#917)
  Add new database
  Unstable for cross signing
  Unstable for cross signing
  Use r0 not unstable for e2e keys and sendToDevice
  Correctly return the full auth chain in test (#911)
  Unflake "Outbound federation will ignore a missing event with bad JSON for room version 6" (#912)
  Test that the client sees a leave event after invite rejection (#909)
  Update device management tests to be spec-compliant
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