File tree Expand file tree Collapse file tree
main/java/io/weaviate/client6/v1/api/backup Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1414import io .weaviate .client6 .v1 .api .cluster .replication .ReplicationState ;
1515import io .weaviate .client6 .v1 .api .cluster .replication .ReplicationType ;
1616import io .weaviate .containers .Weaviate ;
17+ import io .weaviate .containers .Weaviate .Version ;
1718
1819public 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.
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments