mirror of
https://github.com/espressif/openthread.git
synced 2026-08-05 02:17:47 +00:00
[tests] use longer timeouts for simulation tests (#5094)
* use longer duration for pexpect and socket * use 10s timeouts
This commit is contained in:
@@ -130,7 +130,7 @@ class Node:
|
||||
|
||||
print("%s" % cmd)
|
||||
|
||||
self.pexpect = pexpect.popen_spawn.PopenSpawn(cmd, timeout=4)
|
||||
self.pexpect = pexpect.popen_spawn.PopenSpawn(cmd, timeout=10)
|
||||
|
||||
# Add delay to ensure that the process is ready to receive commands.
|
||||
timeout = 0.4
|
||||
@@ -211,7 +211,7 @@ class Node:
|
||||
cmd += ' %d' % nodeid
|
||||
print("%s" % cmd)
|
||||
|
||||
self.pexpect = pexpect.spawn(cmd, timeout=4)
|
||||
self.pexpect = pexpect.spawn(cmd, timeout=10)
|
||||
|
||||
# Add delay to ensure that the process is ready to receive commands.
|
||||
time.sleep(0.2)
|
||||
|
||||
Reference in New Issue
Block a user