-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reproduction of issue 106: no history available when repo.find() is i…
…nvoked and the repo has a storage provider (#113) * reproduction of issue #106 * adding test from Jesse showing failure to initiate and automatically sync on two independent imports * explicitly initiate a sync on create, import, or clone with all connected peers * replacing integration test helper with upstream utility method * renaming test classes to distinguish more easily between single and dual client tests * fixing mismatched assumptions about documents being created automatically vs reporting they don't exist * updating tests to align with changed behaviors for sync on create/import/clone * in the scenario where a document is sync'd on creation, and a peer is connected, the other peer will have a record of the document to return an immediate result on find(), but the contents won't be completely up to date until the sync has processed. * The updated tests (unit and integration) verify that a sync happens, but there's no clear indicator of "I'm up to date with all my peers" right now.
- Loading branch information
Showing
15 changed files
with
448 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
160 changes: 0 additions & 160 deletions
160
IntegrationTests/Tests/IntegrationTestsTests/RepoAndTwoClientWebsocketIntegrationTests.swift
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.