Quotes around bucket name in setup for collection tests. (#1416)

Closes #1415.
This commit is contained in:
Michael Reiche
2022-04-19 18:30:15 -07:00
committed by GitHub
parent 60ecf95def
commit 9347a5097a

View File

@@ -77,7 +77,7 @@ public class CollectionAwareIntegrationTests extends JavaIntegrationTests {
List<String> 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());