]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Remove obsolete reference to piece storage opts
authorMatt Joiner <anacrolix@gmail.com>
Tue, 19 Jan 2021 04:31:09 +0000 (15:31 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 25 Jan 2021 04:54:37 +0000 (15:54 +1100)
storage/sqlite/sqlite-storage_test.go

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