Skip to content

Commit

Permalink
RCORE-1974 Add tests for role/permissions changed during client reset (
Browse files Browse the repository at this point in the history
…#7840)

* re-applied changes after base branch was merged to feature branch

* Updates to address test failures

* Disable role change check during fresh realm download

* Updated comments for clarity

* Update from review

* Update from review

* Updates from review; added a bunch of comments to test

* Updates to role change tests per review comments

* removed ostream support for SyncClientHookEvent
  • Loading branch information
Michael Wilkerson-Barker authored Jul 18, 2024
1 parent 2345715 commit 1ed42eb
Show file tree
Hide file tree
Showing 3 changed files with 427 additions and 50 deletions.
1 change: 1 addition & 0 deletions src/realm/sync/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ enum class ClientResyncMode : unsigned char {
RecoverOrDiscard,
};

// Also update sync_test_utils.hpp when adding new values
enum class SyncClientHookEvent {
DownloadMessageReceived,
DownloadMessageIntegrated,
Expand Down
Loading

0 comments on commit 1ed42eb

Please sign in to comment.