Skip to content

Improvements to megolm integration tests #3060

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

Merged
merged 1 commit into from
Jan 13, 2023
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 12, 2023

The megolm tests were making a few assumptions which they really shouldn't; in particular:

  • They were creating mock events with event_ids not starting $, and lacking sender, origin_server_ts and unsigned properties

  • They were not including the (now) required keys.ed25519 property inside the ciphertext of an olm message.

These work ok currently, but they aren't really correct, and they cause problems when testing the new rust implementation.


This change is marked as an internal change (Task), so will not be included in the changelog.

The megolm tests were making a few assumptions which they really shouldn't; in
particular:

 * They were creating mock events with event_ids not starting `$`, and lacking
   `sender`, `origin_server_ts` and `unsigned` properties

 * They were not including the (now) required `keys.ed25519` property inside
   the ciphertext of an olm message.

These work ok currently, but they aren't really correct, and they cause
problems when testing the new rust implementation.
@richvdh richvdh force-pushed the rav/update_megolm_logs branch from d76dfd2 to 3c0c0bc Compare January 12, 2023 18:51
@richvdh richvdh added the T-Task Tasks for the team like planning label Jan 12, 2023
@richvdh richvdh marked this pull request as ready for review January 12, 2023 19:36
@richvdh richvdh requested a review from a team as a code owner January 12, 2023 19:36
Copy link
Member

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@richvdh richvdh merged commit 4847d78 into develop Jan 13, 2023
@richvdh richvdh deleted the rav/update_megolm_logs branch January 13, 2023 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants