Skip to content

Commit

Permalink
Update Weaviate version to v1.26.4
Browse files Browse the repository at this point in the history
  • Loading branch information
antas-marcin committed Sep 21, 2024
1 parent 4bf6543 commit 7fde410
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.weaviate.integration.client;

import java.time.Duration;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runners.model.Statement;
Expand All @@ -26,17 +27,15 @@ public Weaviate(String dockerImageName, String hostname, Boolean isJoining) {
withEnv("DISABLE_TELEMETRY", "true");
withEnv("PERSISTENCE_FLUSH_IDLE_MEMTABLES_AFTER", "1");

withEnv("CLUSTER_HOSTNAME", hostname);
withEnv("CLUSTER_GOSSIP_BIND_PORT", "7110");
withEnv("CLUSTER_DATA_BIND_PORT", "7111");
withEnv("RAFT_PORT", "8300");
withEnv("RAFT_INTERNAL_RPC_PORT", "8301");

withEnv("RAFT_BOOTSTRAP_EXPECT", "2");
withEnv("RAFT_JOIN", "weaviate-0:8300,weaviate-1:8300");
withEnv("RAFT_BOOTSTRAP_EXPECT", "1");
withEnv("RAFT_JOIN", "weaviate-0");
if (isJoining) {
withEnv("CLUSTER_JOIN", "weaviate-0:7110");
waitingFor(Wait.forHttp("/v1/.well-known/ready").forPort(8080).forStatusCode(200));
waitingFor(Wait.forHttp("/v1/.well-known/ready").forPort(8080).forStatusCode(200).withStartupTimeout(Duration.ofSeconds(10)));
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
public class WeaviateVersion {

// docker image version
public static final String WEAVIATE_IMAGE = "1.26.1";
public static final String WEAVIATE_IMAGE = "1.26.4";

// to be set according to weaviate docker image
public static final String EXPECTED_WEAVIATE_VERSION = "1.26.1";
public static final String EXPECTED_WEAVIATE_VERSION = "1.26.4";
// to be set according to weaviate docker image
public static final String EXPECTED_WEAVIATE_GIT_HASH = "6fd2432";
public static final String EXPECTED_WEAVIATE_GIT_HASH = "584532a";

private WeaviateVersion() {}
}

0 comments on commit 7fde410

Please sign in to comment.