mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1611483 - Fix BAD_IP
in netwerk/test/unit/test_trr.js on Android to be 127.9.9.9 to make the test work, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61067 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
ab65dd885f
commit
17b225e696
@ -105,7 +105,7 @@ registerCleanupFunction(() => {
|
|||||||
// This is an IP that is local, so we don't crash when connecting to it,
|
// This is an IP that is local, so we don't crash when connecting to it,
|
||||||
// but also connecting to it fails, so we attempt to retry with regular DNS.
|
// but also connecting to it fails, so we attempt to retry with regular DNS.
|
||||||
const BAD_IP = (() => {
|
const BAD_IP = (() => {
|
||||||
if (mozinfo.os == "linux") {
|
if (mozinfo.os == "linux" || mozinfo.os == "android") {
|
||||||
return "127.9.9.9";
|
return "127.9.9.9";
|
||||||
}
|
}
|
||||||
return "0.0.0.0";
|
return "0.0.0.0";
|
||||||
|
Loading…
Reference in New Issue
Block a user