Skip to content

Commit d139873

Browse files
committed
fix(java-tests): align docs java-v6 client to weaviate client6 6.2.1
The java-v6 examples module depended on client6:6.2.1-SNAPSHOT (which no release publishes, and the pom has no snapshot repository), while docs CI built and installed client tag 6.2.0. That version lacks text2vecDigitalOcean and the tokenize APIs, so ModelProvidersTest and TokenizationTest failed to compile — breaking the whole module, including the new server-side batching test. Pin both the dependency and the CI-built client to the released 6.2.1.
1 parent 511ae70 commit d139873

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docs_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ jobs:
456456

457457
- name: Clone and build Java client SNAPSHOT
458458
run: |
459-
JAVA_BRANCH="${{ inputs.java_client_branch || '6.2.0' }}"
459+
JAVA_BRANCH="${{ inputs.java_client_branch || '6.2.1' }}"
460460
echo "📦 Building Java client SNAPSHOT from branch: $JAVA_BRANCH"
461461
git clone --depth 1 -b "$JAVA_BRANCH" https://github.com/weaviate/java-client.git /tmp/java-client
462462
cd /tmp/java-client

_includes/code/java-v6/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<dependency>
3131
<groupId>io.weaviate</groupId>
3232
<artifactId>client6</artifactId>
33-
<version>6.2.1-SNAPSHOT</version>
33+
<version>6.2.1</version>
3434
</dependency>
3535

3636
<!-- JUnit 5 for testing -->

0 commit comments

Comments
 (0)