fs: Fix test when :50007 already in use

This commit is contained in:
Matt Joiner 2015-06-23 02:03:08 +10:00
parent 4e33a45f02
commit 8146001893
1 changed files with 6 additions and 0 deletions

View File

@ -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)