Skip to content

Commit

Permalink
try to solve 5.20 TC errors (#4097)
Browse files Browse the repository at this point in the history
  • Loading branch information
vga91 authored Jun 3, 2024
1 parent c49d4c6 commit 47289aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
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 @@ -59,7 +59,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);

testCall(db, "CALL apoc.vectordb.chroma.createCollection($host, 'test_collection', 'cosine', 4)",
Expand Down Expand Up @@ -386,7 +386,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 @@ -71,7 +71,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);

testCall(db, "CALL apoc.vectordb.qdrant.createCollection($host, 'test_collection', 'Cosine', 4, $conf)",
Expand Down
6 changes: 3 additions & 3 deletions extended/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ dependencies {

compileOnly group: 'org.apache.parquet', name: 'parquet-hadoop', version: '1.13.1', withoutServers
// testImplementation analogous is not needed since is bundled via `test-utils` submodule
compileOnly group: 'org.apache.hadoop', name: 'hadoop-common', version: '3.4.0', withoutServers
compileOnly group: 'org.apache.hadoop', name: 'hadoop-common', version: '3.3.6', withoutServers

compileOnly group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.17.0'
compileOnly group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.16.1'
compileOnly group: 'org.apache.arrow', name: 'arrow-vector', version: '13.0.0'
compileOnly group: 'org.apache.arrow', name: 'arrow-memory-netty', version: '13.0.0'

testImplementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.17.0'
testImplementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.16.1'
testImplementation group: 'org.apache.arrow', name: 'arrow-vector', version: '13.0.0'
testImplementation group: 'org.apache.arrow', name: 'arrow-memory-netty', version: '13.0.0'

Expand Down

0 comments on commit 47289aa

Please sign in to comment.