-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CBG-342 - Check for explicit KeyNotFound in gocb Incr's amt=0 handling (
#4095) * CBG-342 Check for explicit KeyNotFoundError in gocbbucket.Incr Prevents Incr from reporting incorrect zero value under cases where the Get fails for other unexpected reasons (like persistent network timeouts) * Add test to cover amt=0 in Incr for gocb bucket * Use existing test bucket pattern for TestIncrAmtZero * Make TestIncrAmtZero run on all bucket types - change def param to expected SG usage
- Loading branch information
1 parent
9e9cf3f
commit cde8f82
Showing
3 changed files
with
39 additions
and
2 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