2
0
mirror of synced 2025-02-24 14:48:27 +00:00

Remove obsolete reference to piece storage opts

This commit is contained in:
Matt Joiner 2021-01-19 15:31:09 +11:00
parent 25c60b72eb
commit 5920bcae89

View File

@ -10,7 +10,6 @@ import (
"testing" "testing"
_ "github.com/anacrolix/envpprof" _ "github.com/anacrolix/envpprof"
"github.com/anacrolix/torrent/storage"
test_storage "github.com/anacrolix/torrent/storage/test" test_storage "github.com/anacrolix/torrent/storage/test"
qt "github.com/frankban/quicktest" qt "github.com/frankban/quicktest"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
@ -86,9 +85,6 @@ func BenchmarkMarkComplete(b *testing.B) {
ProvOpts: func(opts *ProviderOpts) { ProvOpts: func(opts *ProviderOpts) {
opts.BatchWrites = true opts.BatchWrites = true
}, },
ResourcePiecesOpts: storage.ResourcePiecesOpts{
NoSizedPuts: false || memory,
},
}) })
c.Assert(err, qt.IsNil) c.Assert(err, qt.IsNil)
defer ci.Close() defer ci.Close()