mirror of
https://github.com/espressif/openthread.git
synced 2026-07-28 06:37:46 +00:00
[toranj] limit the logs during init of all nodes (#2848)
This commit is contained in:
committed by
Jonathan Hui
parent
6bd04ddcda
commit
d79bf6f268
@@ -438,7 +438,8 @@ class Node(object):
|
||||
try:
|
||||
node.leave()
|
||||
except subprocess.CalledProcessError as e:
|
||||
_log(' -> \'{}\' exit code: {}'.format(e.output, e.returncode))
|
||||
if (node._verbose):
|
||||
_log(' -> \'{}\' exit code: {}'.format(e.output, e.returncode))
|
||||
if time.time() - start_time > wait_time:
|
||||
print 'Took too long to init all nodes ({}>{} sec)'.format(time.time() - start_time, wait_time)
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user