Skip to content

Commit e9b1743

Browse files
committed
Fix failing TCs
1 parent 1bde56b commit e9b1743

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

src/it/java/io/weaviate/containers/Weaviate.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ public class Weaviate extends WeaviateContainer {
3737

3838
public enum Version {
3939
V132(1, 32),
40-
V133(1, 33);
40+
V133(1, 33),
41+
V134(1, 34);
4142

4243
public final SemanticVersion semver;
4344

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@
1414
import io.weaviate.client6.v1.api.cluster.replication.ReplicationState;
1515
import io.weaviate.client6.v1.api.cluster.replication.ReplicationType;
1616
import io.weaviate.containers.Weaviate;
17+
import io.weaviate.containers.Weaviate.Version;
1718

1819
public class ClusterITest extends ConcurrentTest {
1920
private static final WeaviateClient client = Weaviate.cluster(3).getClient();
2021

2122
@Test
2223
public void test_shardingState() throws IOException {
24+
Version.V134.orSkip();
25+
2326
// Arrange
2427
var nsA = ns("A");
2528
var nsB = ns("B");
@@ -58,6 +61,8 @@ public void test_listNodes() throws IOException {
5861

5962
@Test
6063
public void test_replicateLifecycle() throws IOException {
64+
Version.V134.orSkip(); // Replicate endpoint not implemented in earlier versions
65+
6166
// Arrange
6267

6368
// We must create the collection first before any shards exist on the nodes.

src/main/java/io/weaviate/client6/v1/api/backup/Backup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public record Backup(
3434
/** Time at which the backup was completed, successfully or otherwise. */
3535
@SerializedName("completedAt") OffsetDateTime completedAt,
3636
/** Backup size in GiB. */
37-
@SerializedName("size") Integer sizeGiB,
37+
@SerializedName("size") Double sizeGiB,
3838
/**
3939
* This value indicates if a backup is being created or restored from.
4040
* For operations like LIST this value is null.

0 commit comments

Comments
 (0)