Improve trackers list (#107)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
parent
b98a93f59f
commit
0966713b64
3 changed files with 7 additions and 32 deletions
|
@ -17,6 +17,9 @@ func TestMain(m *testing.M) {
|
|||
cfg := torrent.NewDefaultClientConfig()
|
||||
cfg.DataDir = os.TempDir()
|
||||
|
||||
// disable webseeds to avoid a panic when closing client on tests
|
||||
cfg.DisableWebseeds = true
|
||||
|
||||
client, err := torrent.NewClient(cfg)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue