mirror of
https://github.com/espressif/openthread.git
synced 2026-08-20 17:39:51 +00:00
[tests] use common definition for router startup delay (#7685)
This commit is contained in:
@@ -31,6 +31,7 @@ import ipaddress
|
||||
import unittest
|
||||
|
||||
import command
|
||||
import config
|
||||
import thread_cert
|
||||
|
||||
# Test description:
|
||||
@@ -75,7 +76,7 @@ class SrpRemoveHost(thread_cert.TestCase):
|
||||
self.assertEqual(server.get_state(), 'leader')
|
||||
|
||||
client.start()
|
||||
self.simulator.go(5)
|
||||
self.simulator.go(config.ROUTER_STARTUP_DELAY)
|
||||
self.assertEqual(client.get_state(), 'router')
|
||||
|
||||
server.srp_server_set_enabled(True)
|
||||
|
||||
Reference in New Issue
Block a user