From f5c596e85b5d55b49de10558b93b83bdd2fe3935 Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Mon, 7 Aug 2023 14:45:32 +0200 Subject: [PATCH] fix(tools): Increase timeout in idf_tools.py Python tests --- tools/test_idf_tools/test_idf_tools_python_env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test_idf_tools/test_idf_tools_python_env.py b/tools/test_idf_tools/test_idf_tools_python_env.py index 8a47a00939ea..f9c202a2cad9 100644 --- a/tools/test_idf_tools/test_idf_tools_python_env.py +++ b/tools/test_idf_tools/test_idf_tools_python_env.py @@ -54,7 +54,7 @@ def tearDownModule(): # type: () -> None class BasePythonInstall(unittest.TestCase): 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') 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