Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Prevent rust-crypto setting from leaking to other tests #10464

Merged
merged 2 commits into from
Mar 27, 2023

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Mar 27, 2023

Follow-up to #9759.

Because the MatrixClientPeg pushes the use_rust_crypto setting back into the SettingsStore, the setting was leaking out to other tests despite getValue's mock being restored.

The solution is to mock out setValue as well.


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

@richvdh richvdh requested a review from a team as a code owner March 27, 2023 17:26
@richvdh richvdh added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Mar 27, 2023
@richvdh richvdh enabled auto-merge (squash) March 27, 2023 17:41
@richvdh richvdh merged commit d821323 into develop Mar 27, 2023
@richvdh richvdh deleted the rav/element-r/no-rust-for-normal-tests branch March 27, 2023 18:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants