[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:
kangping
2021-02-09 12:18:16 -08:00
committed by GitHub
parent 3a37d347ee
commit 282f8a4a8b
11 changed files with 242 additions and 7 deletions
@@ -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())