From 9347a5097a76ca9bef87f8cdc6b657ff5e5ccfc5 Mon Sep 17 00:00:00 2001 From: Michael Reiche <48999328+mikereiche@users.noreply.github.com> Date: Tue, 19 Apr 2022 18:30:15 -0700 Subject: [PATCH] Quotes around bucket name in setup for collection tests. (#1416) Closes #1415. --- .../data/couchbase/util/CollectionAwareIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());