Skip to content

Commit

Permalink
Try to solve 5.21 TC errors (#4137)
Browse files Browse the repository at this point in the history
* Try to solve 5.21 TC errors

* de-ignored gradle.properties to be consistent with Core one
  • Loading branch information
vga91 committed Jul 10, 2024
1 parent 1ebbd99 commit e84fe30
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ classes
dependency-reduced-pom.xml
derby*
.gradle
gradle.properties
build/
*~
\#*
Expand Down
4 changes: 2 additions & 2 deletions extended-it/src/test/java/apoc/vectordb/ChromaDbTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static void setUp() throws Exception {

CHROMA_CONTAINER.start();

HOST = "localhost:" + CHROMA_CONTAINER.getMappedPort(8000);
HOST = CHROMA_CONTAINER.getEndpoint();
TestUtil.registerProcedure(db, ChromaDb.class, VectorDb.class, Prompt.class);

testCall(db, "CALL apoc.vectordb.chroma.createCollection($host, 'test_collection', 'cosine', 4)",
Expand Down Expand Up @@ -396,7 +396,7 @@ MAPPING_KEY, map(EMBEDDING_KEY, "vect",
@Test
public void queryVectorsWithSystemDbStorage() {
String keyConfig = "chroma-config-foo";
String baseUrl = "http://" + HOST;
String baseUrl = HOST;
Map<String, Object> mapping = map(EMBEDDING_KEY, "vect",
NODE_LABEL, "Test",
ENTITY_KEY, "myId",
Expand Down
2 changes: 1 addition & 1 deletion extended-it/src/test/java/apoc/vectordb/QdrantTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static void setUp() throws Exception {

QDRANT_CONTAINER.start();

HOST = "localhost:" + QDRANT_CONTAINER.getMappedPort(6333);
HOST = QDRANT_CONTAINER.getHost() + ":" +QDRANT_CONTAINER.getMappedPort(6333);
TestUtil.registerProcedure(db, Qdrant.class, VectorDb.class, Prompt.class);

testCall(db, "CALL apoc.vectordb.qdrant.createCollection($host, 'test_collection', 'Cosine', 4, $conf)",
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.jvmargs=-Xmx5G -XX:MaxMetaspaceSize=256m

0 comments on commit e84fe30

Please sign in to comment.