mirror of
https://github.com/espressif/openthread.git
synced 2026-10-23 07:58:20 +00:00
[tests] use common definition for router startup delay (#7685)
This commit is contained in:
@@ -30,6 +30,7 @@ import ipaddress
|
||||
import typing
|
||||
import unittest
|
||||
|
||||
import config
|
||||
import thread_cert
|
||||
|
||||
# Test description:
|
||||
@@ -90,7 +91,7 @@ class TestDnssd(thread_cert.TestCase):
|
||||
client1.start()
|
||||
client2.start()
|
||||
client3.start()
|
||||
self.simulator.go(5)
|
||||
self.simulator.go(config.ROUTER_STARTUP_DELAY)
|
||||
self.assertEqual(client1.get_state(), 'router')
|
||||
self.assertEqual(client2.get_state(), 'router')
|
||||
self.assertEqual(client3.get_state(), 'router')
|
||||
|
||||
Reference in New Issue
Block a user