Skip to content

Commit

Permalink
fix: unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HMBSbige committed Jun 24, 2024
1 parent 396eab2 commit 4186e5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UnitTest/StunClien5389UDPTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class StunClien5389UDPTest
[TestMethod]
public async Task BindingTestSuccessAsync()
{
IPAddress ip = await _dnsClient.QueryAsync(@"stunserver.stunprotocol.org");
IPAddress ip = await _dnsClient.QueryAsync(@"stun.syncthing.net");
using StunClient5389UDP client = new(new IPEndPoint(ip, StunServer.DefaultPort), Any);

StunResult5389 response = await client.BindingTestAsync();
Expand Down
2 changes: 1 addition & 1 deletion UnitTest/StunClient5389TCPTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class StunClient5389TCPTest
[TestMethod]
public async Task BindingTestSuccessAsync()
{
IPAddress ip = await _dnsClient.QueryAsync(@"stunserver.stunprotocol.org");
IPAddress ip = await _dnsClient.QueryAsync(@"stun.hot-chilli.net");
using IStunClient5389 client = new StunClient5389TCP(new IPEndPoint(ip, StunServer.DefaultPort), Any);

StunResult5389 response = await client.BindingTestAsync();
Expand Down

0 comments on commit 4186e5e

Please sign in to comment.