mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't rerun the packages tests on failures by default
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
0f146ef77f
commit
9fcd0fab17
1 changed files with 3 additions and 0 deletions
|
@ -1880,6 +1880,9 @@ def ci_test_onedir_pkgs(session):
|
|||
try:
|
||||
_pytest(session, coverage=False, cmd_args=pytest_args, env=env)
|
||||
except CommandFailed:
|
||||
if os.environ.get("RERUN_FAILURES", "0") == "0":
|
||||
# Don't rerun on failures
|
||||
return
|
||||
|
||||
# Don't print the system information, not the test selection on reruns
|
||||
global PRINT_TEST_SELECTION
|
||||
|
|
Loading…
Add table
Reference in a new issue