Skip to content

Commit

Permalink
don't update replication factor twice
Browse files Browse the repository at this point in the history
  • Loading branch information
moogacs authored and aliszka committed May 14, 2024
1 parent b43fe35 commit c014f64
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test/acceptance/replication/crud_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,20 +369,6 @@ func eventualReplicaCRUD(t *testing.T) {
startNodeAt(ctx, t, compose, 3)
})

t.Run("configure classes to replicate to node 3", func(t *testing.T) {
ac := helper.GetClass(t, "Article")
ac.ReplicationConfig = &models.ReplicationConfig{
Factor: 3,
}
helper.UpdateClass(t, ac)

pc := helper.GetClass(t, "Paragraph")
pc.ReplicationConfig = &models.ReplicationConfig{
Factor: 3,
}
helper.UpdateClass(t, pc)
})

t.Run("assert all previous data replicated to node 3", func(t *testing.T) {
resp := gqlGet(t, compose.GetWeaviateNode3().URI(), "Article", replica.All)
assert.Len(t, resp, len(articleIDs))
Expand Down

0 comments on commit c014f64

Please sign in to comment.