Skip to content

Commit 9a85950

Browse files
committed
test(batch): use explicit type
1 parent 9903d95 commit 9a85950

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/it/java/io/weaviate/integration/BatchITest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import io.weaviate.ConcurrentTest;
1010
import io.weaviate.client6.v1.api.WeaviateClient;
1111
import io.weaviate.client6.v1.api.collections.WeaviateObject;
12+
import io.weaviate.client6.v1.api.collections.batch.BatchContext;
1213
import io.weaviate.containers.Container;
1314
import io.weaviate.containers.Weaviate;
1415

@@ -27,7 +28,7 @@ public void test10_000Objects() throws IOException {
2728
var things = client.collections.create(nsThings);
2829

2930
// Act
30-
try (var batch = things.batch.start()) {
31+
try (BatchContext<?> batch = things.batch.start()) {
3132
for (int i = 0; i < 10_000; i++) {
3233
batch.add(WeaviateObject.of());
3334
}

0 commit comments

Comments
 (0)