salt/tests/integration
rallytime ede4c28887 Group checks for failhard setting in () in state.check_failhard function
Fixes #38683

When two states combine the `require`, `failhard`, and `order` options,
the `order` option should be ignored because `require` is present. Then
the `failhard` option should make the state run fail.

The check for "failhard" in the `check_failhard` function in the state
compiler was too broad. We want "failhard" to be true AND tag to be in
the `running` dict. Without the parens around the first OR statement,
we were bypassing the AND requirement because failhard was found.

Since the second state's tag was not found in the running dict, the state
run stacktraces on a KeyError.
2017-04-03 14:41:54 -06:00
..
cli Merge branch '2016.3' into '2016.11' 2016-11-14 09:14:00 -07:00
client Add RunnerClient test for old/new-style arg/kwarg parsing 2017-02-24 22:40:59 -07:00
cloud Merge branch '2016.3' into '2016.11' 2017-01-04 16:54:58 -05:00
files Group checks for failhard setting in () in state.check_failhard function 2017-04-03 14:41:54 -06:00
fileserver Merge branch '2016.3' into '2016.11' 2017-02-15 10:35:02 -07:00
grains add windows core grain test 2016-09-07 21:22:24 -06:00
loader Make integration.loader.loader tests PY3-compatible 2016-08-03 17:21:31 -05:00
minion Revert "Skip some tests on MacOS" (#36341) 2016-09-15 11:12:04 -06:00
mockbin Add "mockbin" directory and a fake "su" wrapper for tests 2012-07-26 22:14:00 +06:00
modules Group checks for failhard setting in () in state.check_failhard function 2017-04-03 14:41:54 -06:00
netapi Skip flaky test for now 2017-03-21 15:47:20 -06:00
output Use a path that non-root users can write to for output file 2016-08-02 17:25:22 -05:00
reactor Event assert (#33262) 2016-05-19 13:41:23 -06:00
renderers Add __init__ and pydsl test 2015-11-25 10:50:30 -07:00
returners Fix cache test on develop 2016-08-21 13:35:27 +09:00
runners improve salt-run salt.cmd test 2017-02-10 09:00:12 -07:00
sdb Add SDB module for environment variables 2016-05-25 17:18:35 -04:00
shell Merge branch '2016.3' into '2016.11' 2017-02-01 13:35:10 -07:00
ssh Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
states add use_cmd_unzip test 2017-03-27 10:32:27 -06:00
utils Various fixes for MacOS X (#36085) 2016-09-06 16:30:08 -06:00
wheel Add final args to disable event printing for wheel 2016-08-22 14:51:47 +09:00
__init__.py Rewrite the tests_valid_docs test 2017-02-26 12:21:00 -06:00