fs/torrentfs_test.go | 2 ++ diff --git a/fs/torrentfs_test.go b/fs/torrentfs_test.go index 185aa93e1536a2c67f0253b4f0383348d00fab7d..372b8f2992fea3f3e509b1b6fb0a9b0a4cfe8d72 100644 --- a/fs/torrentfs_test.go +++ b/fs/torrentfs_test.go @@ -148,6 +148,7 @@ }) if err != nil { t.Fatalf("error creating seeder client: %s", err) } + seeder.SetIPBlockList(nil) defer seeder.Stop() http.HandleFunc("/seeder", func(w http.ResponseWriter, req *http.Request) { seeder.WriteStatus(w) @@ -168,6 +169,7 @@ // with the same ID. // PeerID: seeder.PeerID(), }) + leecher.SetIPBlockList(nil) http.HandleFunc("/leecher", func(w http.ResponseWriter, req *http.Request) { leecher.WriteStatus(w) })