Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
NCBC-1382: Make KVErrorMap work with CouchbaseMock
MOTIVATION ---------- KV error map currently only works with CCP but should also work with HTTP streaming config too. The integration test that was added to work with cluster 5.0 and needs to also support CouchbaseMock. MODIFICATIONS ------------- - Move the GetKVErrorMap operation inside IIOService implementations of EnableServerFeatures - Make the ErrorMap property internally available - Remove SetErrorMap - Update PooledIOService and MultiplexingIOService tests with ErrorMap changes RESULT ------ The KV error map test now works with both HTTP Streaming and CCP providers and can load the KV error map from either a 5.0 cluster or Couchbase Mock. Change-Id: I00557515fc80eb53862061670b52f614389c8b66 Reviewed-on: http://review.couchbase.org/77496 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Mike Goldsmith <goldsmith.mike@gmail.com>
- Loading branch information
1 parent
9b85047
commit 44f6455
Showing
9 changed files
with
66 additions
and
52 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
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