From 781f2607a12bed3c1b9424b52f78089e1d4b2e5a Mon Sep 17 00:00:00 2001 From: istae <14264581+istae@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:19:22 +0300 Subject: [PATCH] fix: test case --- pkg/storer/internal/reserve/reserve_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/storer/internal/reserve/reserve_test.go b/pkg/storer/internal/reserve/reserve_test.go index 411d4cf9d71..8554d77ff2a 100644 --- a/pkg/storer/internal/reserve/reserve_test.go +++ b/pkg/storer/internal/reserve/reserve_test.go @@ -331,7 +331,7 @@ func TestSameChunkAddress(t *testing.T) { } err = r.Put(ctx, ch4) - if err != nil { + if !errors.Is(err, storage.ErrOverwriteNewerChunk) { t.Fatal(err) } })