Try to find why test_mdns() is failing.

This commit is contained in:
Albrecht Lohofener
2024-09-26 21:03:15 +02:00
parent cf47de8cb4
commit f29a2b248e
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -63,6 +63,7 @@ RUN echo "Building for platform '$TARGETPLATFORM'" \
nginx \
nginx-mod-stream \
netcat-openbsd \
tcpdump \
uuidgen \
curl \
usbutils \
+5 -1
View File
@@ -441,4 +441,8 @@ def test_api_get_factory_reset(docker_services):
def test_mdns(docker_services):
wait_for_openwrt_startup(docker_services)
assert os.system("ping -c 1 openwrt.local >/dev/null") == 0
try:
polling2.poll(lambda: os.system("ping -c 1 openwrt.local") == 0, step=1, timeout=120)
except polling2.TimeoutException:
assert True, 'ping timeout'
return