diff --git a/pkg/local_object_storage/metabase/get_test.go b/pkg/local_object_storage/metabase/get_test.go index d647910d5..a242a099a 100644 --- a/pkg/local_object_storage/metabase/get_test.go +++ b/pkg/local_object_storage/metabase/get_test.go @@ -185,8 +185,6 @@ func BenchmarkGet(b *testing.B) { } } -var obj *objectSDK.Object - func benchmarkGet(b *testing.B, numOfObj int) { prepareDb := func(batchSize int) (*meta.DB, []oid.Address) { db := newDB(b, diff --git a/pkg/local_object_storage/shard/metrics_test.go b/pkg/local_object_storage/shard/metrics_test.go index ba46881e2..18e97e259 100644 --- a/pkg/local_object_storage/shard/metrics_test.go +++ b/pkg/local_object_storage/shard/metrics_test.go @@ -70,7 +70,6 @@ func (m *metricsStore) AddToPayloadSize(size int64) { const physical = "phy" const logical = "logic" -const readonly = "readonly" func TestCounters(t *testing.T) { dir := t.TempDir()