From a1273afced1fd4377dab9c7e49e307ce08609d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= Date: Tue, 10 May 2022 00:29:44 +0200 Subject: [PATCH] Issue # 420: Decrease per-test pytest timeout to 100 --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index dba75430f..c2cf5a6cf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -165,7 +165,7 @@ jobs: cmake "${{github.workspace}}/skupper-router" \ "-DCMAKE_INSTALL_PREFIX=${InstallPrefix}" \ "-DCMAKE_BUILD_TYPE=${BuildType}" \ - "-DPYTHON_TEST_COMMAND='-m;pytest;-vs;--timeout=400;--junit-prefix=pytest.\${py_test_module};--junit-xml=junitxmls/\${py_test_module}.xml;--pyargs;\${py_test_module}'" \ + "-DPYTHON_TEST_COMMAND='-m;pytest;-vs;--timeout=100;--junit-prefix=pytest.\${py_test_module};--junit-xml=junitxmls/\${py_test_module}.xml;--pyargs;\${py_test_module}'" \ "-GNinja" \ ${RouterCMakeExtraArgs} @@ -585,7 +585,7 @@ jobs: cmake "${{github.workspace}}/skupper-router" \ "-DCMAKE_INSTALL_PREFIX=${InstallPrefix}" \ "-DCMAKE_BUILD_TYPE=${BuildType}" \ - "-DPYTHON_TEST_COMMAND='${CoverageOpts};-m;pytest;-vs;--timeout=400;--junit-prefix=pytest.\${py_test_module};--junit-xml=junitxmls/\${py_test_module}.xml;--pyargs;\${py_test_module}'" \ + "-DPYTHON_TEST_COMMAND='${CoverageOpts};-m;pytest;-vs;--timeout=100;--junit-prefix=pytest.\${py_test_module};--junit-xml=junitxmls/\${py_test_module}.xml;--pyargs;\${py_test_module}'" \ ${RouterCMakeExtraArgs} -DQD_ENABLE_ASSERTIONS=${RouterCMakeAsserts} -DSANITIZE_PYTHON=${RouterCMakeSanitizePython:-ON} - name: skupper-router cmake build/install