chore: rerun failures enabled

This commit is contained in:
Anastasiya Semenkevich 2024-02-29 19:24:57 +03:00 committed by Anastasiya
parent aeabc7f9b9
commit 90bad4b225
3 changed files with 4 additions and 4 deletions

4
ci/Jenkinsfile vendored
View File

@ -151,9 +151,9 @@ pipeline {
passwordVariable: 'TESTRAIL_PSW'
)
]) {
/* Keep the --reruns flag first, or it won't work */
sh """
python3 -m pytest ${flags.join(" ")} \
--ignore-flaky \
python3 -m pytest --reruns=1 ${flags.join(" ")} \
--disable-warnings \
--alluredir=./allure-results
"""

View File

@ -5,7 +5,7 @@ log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s.%(msecs)03d %(levelname)7s CLI %(name)s %(message).5000s
addopts = --disable-warnings -p no:logging
addopts = --reruns=1 --disable-warnings -p no:logging
markers =
critical: Critical checks for every PR

View File

@ -8,6 +8,6 @@ atomacos==3.3.0; platform_system == "Darwin"
allure-pytest==2.13.2
testrail-api==1.12.0
pyperclip==1.8.2
pytest-rerunfailures==11.1.2
pytest-rerunfailures==13.0
pytest-ignore-flaky==2.1.0
pytest-timeout==2.2.0