Skip to content

Commit 9347a50

Browse files
authored
Quotes around bucket name in setup for collection tests. (#1416)
Closes #1415.
1 parent 60ecf95 commit 9347a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/springframework/data/couchbase/util/CollectionAwareIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public static void beforeAll() {
7777

7878
List<String> fieldList = new ArrayList<>();
7979
fieldList.add("parentId");
80-
cluster.query("CREATE INDEX `parent_idx` ON default:" + bucketName() + "." + scopeName + "." + collectionName2
80+
cluster.query("CREATE INDEX `parent_idx` ON default:`" + bucketName() + "`." + scopeName + "." + collectionName2
8181
+ "(parentId)");
8282
} catch (IndexExistsException ife) {
8383
LOGGER.warn("IndexFailureException occurred - ignoring: ", ife.toString());

0 commit comments

Comments
 (0)