mirror of
https://github.com/espressif/openthread.git
synced 2026-08-16 15:47:46 +00:00
[tests] fix intermittent failure in Cert_9_2_09_PendingPartition.py (#6833)
Keeping network id timeout at 70 can result in ROUTER2 occasionally creating its own partition. Reset back to 120 to avoid occasional test failures.
This commit is contained in:
@@ -165,6 +165,11 @@ class Cert_9_2_09_PendingPartition(thread_cert.TestCase):
|
||||
self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
|
||||
self.assertEqual(self.nodes[ROUTER2].get_state(), 'leader')
|
||||
|
||||
# Keeping network id timeout at 70 can result in ROUTER2
|
||||
# occasionally creating its own partition. Reset back to 120
|
||||
# here to avoid occasional test failures.
|
||||
self.nodes[ROUTER2].set_network_id_timeout(120)
|
||||
|
||||
self.nodes[ROUTER2].commissioner_start()
|
||||
self.simulator.go(3)
|
||||
self.nodes[ROUTER2].send_mgmt_active_set(
|
||||
|
||||
Reference in New Issue
Block a user