mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Temporary skip on minion blackout tests on Windows 2016
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
8aea41aaa1
commit
79870f520e
1 changed files with 9 additions and 3 deletions
|
@ -9,12 +9,20 @@ import pytest
|
|||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def _check_skip(grains):
|
||||
if grains["os"] == "Windows" and grains["osrelease"] == "2016Server":
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
pytestmark = [
|
||||
pytest.mark.slow_test,
|
||||
pytest.mark.windows_whitelisted,
|
||||
pytest.mark.skip_initial_gh_actions_failure(skip=_check_skip),
|
||||
]
|
||||
|
||||
|
||||
@pytest.mark.slow_test
|
||||
def test_blackout(salt_cli, blackout, salt_minion_1):
|
||||
"""
|
||||
Test that basic minion blackout functionality works
|
||||
|
@ -31,7 +39,6 @@ def test_blackout(salt_cli, blackout, salt_minion_1):
|
|||
assert ret.data is True
|
||||
|
||||
|
||||
@pytest.mark.slow_test
|
||||
def test_blackout_whitelist(salt_cli, blackout, salt_minion_1):
|
||||
"""
|
||||
Test that minion blackout whitelist works
|
||||
|
@ -55,7 +62,6 @@ def test_blackout_whitelist(salt_cli, blackout, salt_minion_1):
|
|||
assert ret.data[0] == 13
|
||||
|
||||
|
||||
@pytest.mark.slow_test
|
||||
def test_blackout_nonwhitelist(salt_cli, blackout, salt_minion_1):
|
||||
"""
|
||||
Test that minion refuses to run non-whitelisted functions during
|
||||
|
|
Loading…
Add table
Reference in a new issue