Ver Fonte

Merge branch 'bugfix/idf_tools_test_timeout' into 'master'

ci: increase timeout for python packages install test

Closes IDFCI-1436

See merge request espressif/esp-idf!19775
Roland Dobai há 3 anos atrás
pai
commit
352cb3fb5e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      tools/test_idf_tools/test_idf_tools_python_env.py

+ 1 - 1
tools/test_idf_tools/test_idf_tools_python_env.py

@@ -34,7 +34,7 @@ class TestPythonInstall(unittest.TestCase):
 
     def run_idf_tools(self, extra_args):  # type: (List[str]) -> str
         args = [sys.executable, '../idf_tools.py'] + extra_args
-        ret = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, timeout=120)
+        ret = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, timeout=300)
         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