From 84da071b76fff48dea51e10f4cfb29c6f510c9c7 Mon Sep 17 00:00:00 2001
From: Michael Reiche <48999328+mikereiche@users.noreply.github.com>
Date: Tue, 19 Apr 2022 16:06:28 -0700
Subject: [PATCH] Bump 4.3.x Couchbase Java SDK to 3.2.6. (#1411)
Also put quotes around bucket name in CollectionAwareIntegrationTests setup.
Closes #1409.
---
pom.xml | 4 ++--
.../data/couchbase/util/CollectionAwareIntegrationTests.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index af2b9a52..ce932b3d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,8 +18,8 @@
- 3.2.5
- 3.2.5
+ 3.2.6
+ 3.2.6
2.6.5-SNAPSHOT
spring.data.couchbase
diff --git a/src/test/java/org/springframework/data/couchbase/util/CollectionAwareIntegrationTests.java b/src/test/java/org/springframework/data/couchbase/util/CollectionAwareIntegrationTests.java
index ffeeb6b5..bbb4c3fa 100644
--- a/src/test/java/org/springframework/data/couchbase/util/CollectionAwareIntegrationTests.java
+++ b/src/test/java/org/springframework/data/couchbase/util/CollectionAwareIntegrationTests.java
@@ -77,7 +77,7 @@ public class CollectionAwareIntegrationTests extends JavaIntegrationTests {
List fieldList = new ArrayList<>();
fieldList.add("parentId");
- cluster.query("CREATE INDEX `parent_idx` ON default:" + bucketName() + "." + scopeName + "." + collectionName2
+ cluster.query("CREATE INDEX `parent_idx` ON default:`" + bucketName() + "`." + scopeName + "." + collectionName2
+ "(parentId)");
} catch (IndexExistsException ife) {
LOGGER.warn("IndexFailureException occurred - ignoring: ", ife.toString());