Remove obsolete reference to piece storage opts
This commit is contained in:
parent
25c60b72eb
commit
5920bcae89
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user