mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
Delay a little longer after starting sim node (#879)
- To make travis check more stable
This commit is contained in:
@@ -65,10 +65,10 @@ class Node:
|
||||
cmd += ' %d' % nodeid
|
||||
print ("%s" % cmd)
|
||||
|
||||
self.pexpect = pexpect.spawn(cmd, timeout=2)
|
||||
self.pexpect = pexpect.spawn(cmd, timeout=4)
|
||||
|
||||
# Add delay to ensure that the process is ready to receive commands.
|
||||
time.sleep(0.1)
|
||||
time.sleep(0.2)
|
||||
|
||||
|
||||
def __init_ncp_sim(self, nodeid):
|
||||
@@ -87,7 +87,7 @@ class Node:
|
||||
print ("%s" % cmd)
|
||||
|
||||
self.pexpect = pexpect.spawn(cmd, timeout=4)
|
||||
time.sleep(0.1)
|
||||
time.sleep(0.2)
|
||||
self.pexpect.expect('spinel-cli >')
|
||||
self.debug(int(os.getenv('DEBUG', '0')))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user