Skip to content

Commit 9cd6c40

Browse files
committed
Update replication factor
1 parent e9b1743 commit 9cd6c40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ public void test_listNodes() throws IOException {
6161

6262
@Test
6363
public void test_replicateLifecycle() throws IOException {
64-
Version.V134.orSkip(); // Replicate endpoint not implemented in earlier versions
64+
Version.V132.orSkip();
6565

6666
// Arrange
6767

6868
// We must create the collection first before any shards exist on the nodes.
6969
var nsThings = ns("Things");
70-
client.collections.create(nsThings);
70+
client.collections.create(nsThings, c -> c.replication(r -> r.replicationFactor(2)));
7171

7272
var nodes = client.cluster.listNodes(opt -> opt.verbosity(NodeVerbosity.VERBOSE));
7373
Assertions.assertThat(nodes)

0 commit comments

Comments
 (0)