Skip to content

Commit

Permalink
Reinsert download guard
Browse files Browse the repository at this point in the history
  • Loading branch information
rorbech committed Nov 8, 2023
1 parent cff6470 commit 7746087
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@ class SyncedRealmTests {
// Increment counter asynchronously after download initial data (1)
val increment1 = async {
Realm.open(config1).use { realm ->
realm.syncSession.downloadAllServerChanges(30.seconds)
realm.write {
realm.query<SyncObjectWithAllTypes>()
.first()
Expand All @@ -760,6 +761,7 @@ class SyncedRealmTests {
// Increment counter asynchronously after download initial data (2)
val increment2 = async {
Realm.open(config2).use { realm ->
realm.syncSession.downloadAllServerChanges(30.seconds)
realm.write {
realm.query<SyncObjectWithAllTypes>()
.first()
Expand Down

0 comments on commit 7746087

Please sign in to comment.