]> Sergey Matveev's repositories - btrtrc.git/commitdiff
fs: Fix test when :50007 already in use
authorMatt Joiner <anacrolix@gmail.com>
Mon, 22 Jun 2015 16:03:08 +0000 (02:03 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 22 Jun 2015 16:03:08 +0000 (02:03 +1000)
fs/torrentfs_test.go

index 98fa15501ab145118345b84934e8a39bbdce10d8..c14cb21c8fa9e1d38487ca7fa92ea1cfa3677dbc 100644 (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)