Skip to content

Commit a1273af

Browse files
committed
Issue # 420: Decrease per-test pytest timeout to 100
1 parent fc134fb commit a1273af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
cmake "${{github.workspace}}/skupper-router" \
166166
"-DCMAKE_INSTALL_PREFIX=${InstallPrefix}" \
167167
"-DCMAKE_BUILD_TYPE=${BuildType}" \
168-
"-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}'" \
168+
"-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}'" \
169169
"-GNinja" \
170170
${RouterCMakeExtraArgs}
171171
@@ -585,7 +585,7 @@ jobs:
585585
cmake "${{github.workspace}}/skupper-router" \
586586
"-DCMAKE_INSTALL_PREFIX=${InstallPrefix}" \
587587
"-DCMAKE_BUILD_TYPE=${BuildType}" \
588-
"-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}'" \
588+
"-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}'" \
589589
${RouterCMakeExtraArgs} -DQD_ENABLE_ASSERTIONS=${RouterCMakeAsserts} -DSANITIZE_PYTHON=${RouterCMakeSanitizePython:-ON}
590590
591591
- name: skupper-router cmake build/install

0 commit comments

Comments
 (0)