mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(tools): Increase timeout in idf_tools.py Python tests
This commit is contained in:
parent
6b5b8a88db
commit
f5c596e85b
@ -54,7 +54,7 @@ def tearDownModule(): # type: () -> None
|
|||||||
|
|
||||||
class BasePythonInstall(unittest.TestCase):
|
class BasePythonInstall(unittest.TestCase):
|
||||||
def run_tool(self, cmd): # type: (List[str]) -> str
|
def run_tool(self, cmd): # type: (List[str]) -> str
|
||||||
ret = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, timeout=300)
|
ret = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, timeout=600)
|
||||||
decoded_output = ret.stdout.decode('utf-8', 'ignore')
|
decoded_output = ret.stdout.decode('utf-8', 'ignore')
|
||||||
with open(os.path.join(IDF_PATH, 'tools', 'test_idf_tools', 'test_python_env_logs.txt'), 'a+') as w:
|
with open(os.path.join(IDF_PATH, 'tools', 'test_idf_tools', 'test_python_env_logs.txt'), 'a+') as w:
|
||||||
# stack() returns list of callers frame records. [1] represent caller of this function
|
# stack() returns list of callers frame records. [1] represent caller of this function
|
||||||
|
Loading…
Reference in New Issue
Block a user