Skip to content

crypto: Refactor integration tests in preparation for them running against MemoryStore #3223

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
Mar 21, 2024

Conversation

andybalaam
Copy link
Member

A couple of small changes that allow us to drop locks that would otherwise persist when running the tests over the MemoryStore, and some documentation comments for assertions to make it easier to spot which assertion failed, even though we are inside a macro.

Applies on top of #3222

Part of my work on element-hq/element-web#26892

@andybalaam andybalaam requested a review from a team as a code owner March 15, 2024 15:21
@andybalaam andybalaam requested review from poljar and removed request for a team March 15, 2024 15:21
@andybalaam andybalaam marked this pull request as draft March 15, 2024 15:22
@andybalaam andybalaam force-pushed the andybalaam/store-private-identity-in-memorystore branch from 241af7e to 3342f11 Compare March 19, 2024 11:40
@andybalaam andybalaam force-pushed the andybalaam/adjust-integration-tests branch from dd6dff6 to bfd90ee Compare March 19, 2024 11:41
@andybalaam andybalaam force-pushed the andybalaam/store-private-identity-in-memorystore branch from 3342f11 to 9caec95 Compare March 19, 2024 15:36
Base automatically changed from andybalaam/store-private-identity-in-memorystore to main March 20, 2024 09:09
…ainst MemoryStore

A couple of small changes that allow us to drop locks that would
otherwise persist when running the tests over the MemoryStore, and some
documentation comments for assertions to make it easier to spot which
assertion failed, even though we are inside a macro.
@andybalaam andybalaam force-pushed the andybalaam/adjust-integration-tests branch from bfd90ee to 40d96db Compare March 20, 2024 09:10
@andybalaam andybalaam marked this pull request as ready for review March 20, 2024 09:10
Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.66%. Comparing base (b2dc21d) to head (40d96db).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3223   +/-   ##
=======================================
  Coverage   83.66%   83.66%           
=======================================
  Files         236      236           
  Lines       24474    24474           
=======================================
  Hits        20477    20477           
  Misses       3997     3997           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andybalaam andybalaam merged commit fe39ca4 into main Mar 21, 2024
@andybalaam andybalaam deleted the andybalaam/adjust-integration-tests branch March 21, 2024 13:15
@andybalaam andybalaam restored the andybalaam/adjust-integration-tests branch March 21, 2024 13:59
@andybalaam andybalaam deleted the andybalaam/adjust-integration-tests branch March 21, 2024 13:59
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