-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unmarshal document bodies with decoder.UseNumber() (#3801)
* Working * Don't reuse Body type for revisions * Add constants, test fixes * Test and shadower cleanup * Tweak test assert and improve test failure messages * Improve unit test to validate values passed to sync function Updates manifest to point to go-blip PR (for integration test). Needs to be bumped again when go-blip PR is merged * Fix handling for null/empty json * Update go-blip to merged commit * Fix TestImportWithStaleBucketDocCorrectExpiry This test had three problems: - Previously wasn't changing the docBody across subtests - The previous 30s expiry was too short - in local testing, attempted Get immediately after add w/ expiry was reporting not found. The test doesn't wait for expiry, so bumped to 30m. - In the rawDocWithSyncMeta case, import is triggering two generations (instead of one). This looks like a separate bug, filed #3804
- Loading branch information
1 parent
f9425d4
commit 9c28192
Showing
27 changed files
with
438 additions
and
138 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
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
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
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
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.