mirror of
https://github.com/espressif/openthread.git
synced 2026-09-08 18:20:06 +00:00
[dns-sd] add CI tests for SRP server & Advertising Proxy (#6131)
This commit includes basic service registration & advertising function verification. More tests including name conflicts and multiple devices cases will be in future commits. We changed the border_routing test scripts directory to border_router as there will be more tests about Thread border router but not only the routing feature.
This commit is contained in:
@@ -91,6 +91,11 @@ class BBR_5_11_01(thread_cert.TestCase):
|
||||
self.simulator.go(5)
|
||||
self.assertEqual('router', self.nodes[ROUTER2].get_state())
|
||||
|
||||
# The OTBR docker enables SRP Server by default, lets explicitly
|
||||
# disable SRP server to avoid Network Data population.
|
||||
# TODO: Enhance the test script to tolerate additional Sertivce TLV
|
||||
# in Network Data.
|
||||
self.nodes[BR_1].srp_server_set_enabled(False)
|
||||
self.nodes[BR_1].start()
|
||||
self.simulator.go(5)
|
||||
self.assertEqual('router', self.nodes[BR_1].get_state())
|
||||
|
||||
Reference in New Issue
Block a user