From 6d2f1c8cd70db4c1773ea3b17c98f75a9bd75d2d Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Mon, 1 Dec 2014 03:28:39 -0600 Subject: [PATCH] Disable IP block list in some tests --- fs/torrentfs_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/torrentfs_test.go b/fs/torrentfs_test.go index 185aa93e..372b8f29 100644 --- a/fs/torrentfs_test.go +++ b/fs/torrentfs_test.go @@ -148,6 +148,7 @@ func TestDownloadOnDemand(t *testing.T) { 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 @@ func TestDownloadOnDemand(t *testing.T) { // PeerID: seeder.PeerID(), }) + leecher.SetIPBlockList(nil) http.HandleFunc("/leecher", func(w http.ResponseWriter, req *http.Request) { leecher.WriteStatus(w) })