mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-03 07:21:45 -09:00
The mdnsd runtime test can randomly fail on slow runners. It's hard to reproduce locally (only one failure after a few attempts) but we can reproduce it easily by removing the while loop entirely. It means that the "sleep 1" is not used on the Gitlab runner. The timestamp of the failed job seems to confirm that [1]. 07:06:55 [BRTEST# while ! ifconfig eth0 | grep -q 'inet addr'; do sleep 1; done 07:06:55 [BRTEST# echo $? 07:06:55 0 07:06:55 [BRTEST# mquery -T _http._tcp |grep -F buildroot._http._tcp.local 07:06:55 [BRTEST# echo $? 07:06:55 1 So wait a bit for mdnsd to be ready. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/16060152862 Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Julien Olivain <ju.o@free.fr>