From 8146001893528a71b3d52efd49af43e174863cd0 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 23 Jun 2015 02:03:08 +1000 Subject: [PATCH] fs: Fix test when :50007 already in use --- fs/torrentfs_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fs/torrentfs_test.go b/fs/torrentfs_test.go index 98fa1550..c14cb21c 100644 --- a/fs/torrentfs_test.go +++ b/fs/torrentfs_test.go @@ -97,9 +97,15 @@ func TestUnmountWedged(t *testing.T) { DataDir: filepath.Join(layout.BaseDir, "incomplete"), DisableTrackers: true, NoDHT: true, + ListenAddr: "redonk", + DisableTCP: true, + DisableUTP: true, NoDefaultBlocklist: true, }) + if err != nil { + t.Fatal(err) + } defer client.Close() client.AddTorrent(layout.Metainfo) fs := New(client)