mirror of
https://github.com/espressif/openthread.git
synced 2026-08-07 19:27:46 +00:00
[test] require either mdns or avahi (#8959)
This commit relax the requirement of mDNS so that it's OK when either mdns or avahi is present.
This commit is contained in:
@@ -171,12 +171,10 @@ class OtbrDocker:
|
||||
self.bash('service otbr-agent stop')
|
||||
|
||||
def stop_mdns_service(self):
|
||||
self.bash('service avahi-daemon stop')
|
||||
self.bash('service mdns stop')
|
||||
self.bash('service avahi-daemon stop; service mdns stop; !(cat /proc/net/udp | grep -i :14E9)')
|
||||
|
||||
def start_mdns_service(self):
|
||||
self.bash('service avahi-daemon start')
|
||||
self.bash('service mdns start')
|
||||
self.bash('service avahi-daemon start; service mdns start; cat /proc/net/udp | grep -i :14E9')
|
||||
|
||||
def start_ot_ctl(self):
|
||||
cmd = f'docker exec -i {self._docker_name} ot-ctl'
|
||||
|
||||
Reference in New Issue
Block a user