Skip to content

Commit

Permalink
[tests] Ensure tests don't hit upnp port forwarding
Browse files Browse the repository at this point in the history
These are short running tests, so don't bother init'ing
port forwarding support or DHT.
  • Loading branch information
alanmcgovern committed Nov 6, 2022
1 parent 5ae9852 commit e4fd8fb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ private ClientEngine GetEngine (int port)
ReportedAddress = new IPEndPoint (IPAddress.Parse ("127.0.0.1"), port),
AutoSaveLoadFastResume = false,
CacheDirectory = _directory.FullName,
DhtEndPoint = null,
AllowPortForwarding = false,
};
var engine = new ClientEngine (settingBuilder.ToSettings ());
return engine;
Expand Down

0 comments on commit e4fd8fb

Please sign in to comment.