Uploaded image for project: 'Realm .NET SDK'
  1. Realm .NET SDK
  2. RNET-749

.NET WaitForSynchronizationAsync() doesn't wait for download and integration properly

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      I've encountered some flaky behavior with the realm.Subscriptions.WaitForSynchronizationAsync() function in the sync .NET E2E tests here. Basically the issue is that occasionally the test will not properly wait for the download from the server and continue. I've confirmed that the server is sending the correct instructions, so it seems that the client sometimes isn't waiting for those properly. Interestingly, adding a call to realm.SyncSession.WaitForDownloadAsync() after the WaitForSynchronizationAsync() seemed to fix this

            Assignee:
            Unassigned Unassigned
            Reporter:
            benjamin.redmond@mongodb.com Ben Redmond
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: