mirror of
https://github.com/espressif/openthread.git
synced 2026-08-31 22:39:54 +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:
|
try:
|
||||||
node.leave()
|
node.leave()
|
||||||
except subprocess.CalledProcessError as e:
|
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:
|
if time.time() - start_time > wait_time:
|
||||||
print 'Took too long to init all nodes ({}>{} sec)'.format(time.time() - start_time, wait_time)
|
print 'Took too long to init all nodes ({}>{} sec)'.format(time.time() - start_time, wait_time)
|
||||||
raise
|
raise
|
||||||
|
|||||||
Reference in New Issue
Block a user