mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-13 16:01:26 +00:00
Try to find why test_mdns() is failing.
This commit is contained in:
@@ -63,6 +63,7 @@ RUN echo "Building for platform '$TARGETPLATFORM'" \
|
||||
nginx \
|
||||
nginx-mod-stream \
|
||||
netcat-openbsd \
|
||||
tcpdump \
|
||||
uuidgen \
|
||||
curl \
|
||||
usbutils \
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user