diff --git a/pkg/storer/internal/reserve/reserve_test.go b/pkg/storer/internal/reserve/reserve_test.go index 65ba6d5582..95218e992f 100644 --- a/pkg/storer/internal/reserve/reserve_test.go +++ b/pkg/storer/internal/reserve/reserve_test.go @@ -648,7 +648,9 @@ func TestEvictSOC(t *testing.T) { if err != nil { t.Fatal(err) } - checkChunk(t, ts, chunks[9], false) // chunk should still persist, eg refCnt > 0 + if has, _ := ts.ChunkStore().Has(context.Background(), chunks[0].Address()); !has { + t.Fatal("same address chunk should still persist, eg refCnt > 0") + } evicted, err := r.EvictBatchBin(context.Background(), batch.ID, 10, swarm.MaxBins) if err != nil {