fs: Change listen addrs to localhost in tests
Seems to improve reliability. Maybe the missinggo.Addr{IP,Port} change did something.
This commit is contained in:
parent
815d118d6e
commit
ca5080a382
|
@ -172,7 +172,7 @@ func TestDownloadOnDemand(t *testing.T) {
|
|||
DataDir: layout.Completed,
|
||||
DisableTrackers: true,
|
||||
NoDHT: true,
|
||||
ListenAddr: ":0",
|
||||
ListenAddr: "localhost:0",
|
||||
Seed: true,
|
||||
|
||||
NoDefaultBlocklist: true,
|
||||
|
@ -189,7 +189,7 @@ func TestDownloadOnDemand(t *testing.T) {
|
|||
leecher, err := torrent.NewClient(&torrent.Config{
|
||||
DisableTrackers: true,
|
||||
NoDHT: true,
|
||||
ListenAddr: ":0",
|
||||
ListenAddr: "localhost:0",
|
||||
DisableTCP: true,
|
||||
|
||||
NoDefaultBlocklist: true,
|
||||
|
|
Loading…
Reference in New Issue