Improve detecting of active Internet connection // Resolve #3359

This commit is contained in:
Ivan Kravets
2020-01-29 18:54:30 +02:00
parent 139171a79f
commit 607e8eb477
2 changed files with 11 additions and 9 deletions

View File

@@ -25,8 +25,8 @@ def test_platformio_cli():
def test_ping_internet_ips():
for ip in util.PING_INTERNET_IPS:
requests.get("http://%s" % ip, allow_redirects=False, timeout=2)
for host in util.PING_REMOTE_HOSTS:
requests.get("http://%s" % host, allow_redirects=False, timeout=2)
def test_api_internet_offline(without_internet, isolated_pio_home):