gnodet commented on PR #21891: URL: https://github.com/apache/camel/pull/21891#issuecomment-4032372345
**Local test results for Couchbase 8.0.0:** Mixed results — producer tests pass, consumer tests fail: | Test | Result | |---|---| | ProduceMessagesSimpleIT | :white_check_mark: PASSED | | ProduceMessagesWithAutoIDIT | :white_check_mark: PASSED | | RemoveMessagesIT | :white_check_mark: PASSED | | ConsumeMessagesWithLimitIT | :x: FAILED | | ConsumeResumeStrategyIT | :x: FAILED | The consumer test failures are caused by: ``` ViewServiceException: views are supported only on couchbase buckets with couchstore storage backend ``` Couchbase 8.0.0 changed the default storage backend from **CouchStore** to **Magma**. Map/Reduce views are not supported on Magma. The test base class `CouchbaseIntegrationTestBase` creates a bucket with the default storage backend and then upserts a design document (view), which fails. To fix, either: 1. Specify `StorageBackend.COUCHSTORE` when creating the test bucket in `CouchbaseIntegrationTestBase.setUpCouchbase()` 2. Or migrate the consumer to use SQL++/N1QL queries instead of views (views are deprecated in Couchbase 7.x+) This PR is **not safe to merge** without addressing the storage backend change. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
