mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Let's just skip on Aarch64 instead
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
a09afcba68
commit
c13898620a
1 changed files with 1 additions and 8 deletions
|
@ -1,5 +1,4 @@
|
|||
import pytest
|
||||
from pytestskipmarkers.utils import platform
|
||||
|
||||
pytestmark = [
|
||||
pytest.mark.slow_test,
|
||||
|
@ -7,12 +6,6 @@ pytestmark = [
|
|||
]
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def _skip_on_fips_and_arm64(grains):
|
||||
if platform.is_fips_enabled() and grains["cpuarch"] == "aarch64":
|
||||
pytest.skip("Test cannot run on a FIPS enabled platform")
|
||||
|
||||
|
||||
def test_saltcheck_run_test(salt_ssh_cli):
|
||||
"""
|
||||
test saltcheck.run_test with salt-ssh
|
||||
|
@ -30,7 +23,7 @@ def test_saltcheck_run_test(salt_ssh_cli):
|
|||
assert ret.data["status"] == "Pass"
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("_skip_on_fips_and_arm64")
|
||||
@pytest.mark.skip_on_aarch64
|
||||
def test_saltcheck_state(salt_ssh_cli):
|
||||
"""
|
||||
saltcheck.run_state_tests
|
||||
|
|
Loading…
Add table
Reference in a new issue