Skip to content

Commit

Permalink
test: put original root chunk separately
Browse files Browse the repository at this point in the history
  • Loading branch information
nugaon committed Jun 13, 2024
1 parent 9c1251a commit af2f5b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/replicas/putter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ func TestPutter(t *testing.T) {
defer store.Close()
p := replicas.NewPutter(store)

// original chunk
if err := store.Put(ctx, ch); err != nil {
t.Fatalf("expected no error. got %v", err)
}
if err := p.Put(ctx, ch); err != nil {
t.Fatalf("expected no error. got %v", err)
}
Expand Down

0 comments on commit af2f5b3

Please sign in to comment.