Fix TestRelayOnlyConnection on debian

Debian based linux uses 127.0.1.1 as a local loopback address
in some condition of the install.
This commit is contained in:
Atsushi Watanabe
2020-01-13 20:25:38 -08:00
committed by Sean DuBois
parent d001618082
commit 0b788eed85
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ func TestRelayOnlyConnection(t *testing.T) {
Urls: []*URL{
{
Scheme: SchemeTypeTURN,
Host: "localhost",
Host: "127.0.0.1",
Username: "username",
Password: "password",
Port: serverPort,
+1 -1
View File
@@ -42,7 +42,7 @@ func TestServerReflexiveOnlyConnection(t *testing.T) {
Urls: []*URL{
{
Scheme: SchemeTypeSTUN,
Host: "localhost",
Host: "127.0.0.1",
Port: serverPort,
},
},