[tests] explicitly disable border agent in test_publish_meshcop_service (#11713)

The `test_publish_meshcop_service` is updated to explicitly disable
the border agent before factory resetting `br`. This makes the
test more reliable by ensuring the MeshCoP service is unpublished.
This commit is contained in:
Jonathan Hui
2025-07-11 15:13:48 -07:00
committed by GitHub
parent 23127fda98
commit 9f88ca0288
@@ -179,6 +179,8 @@ class PublishMeshCopService(thread_cert.TestCase):
self.check_meshcop_service(br1, host)
self.check_meshcop_service(br2, host)
br1.disable_border_agent()
self.simulator.go(5)
br1.factory_reset()
dataset = {