Skip to content

Commit

Permalink
Skip the tests if running with non-root user
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhestkov committed Jul 31, 2024
1 parent 8c465dc commit d972d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/pytests/scenarios/dns/multimaster/test_dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


@pytest.mark.skip_unless_on_linux
@pytest.mark.skip_if_not_root
def test_multimaster_dns(
salt_mm_master_1,
salt_mm_minion_1,
Expand Down
1 change: 1 addition & 0 deletions tests/pytests/scenarios/dns/test_dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


@pytest.mark.skip_unless_on_linux
@pytest.mark.skip_if_not_root
def test_dns_change(master, minion, salt_cli, etc_hosts, caplog, master_alive_interval):
"""
Verify a minion will pick up a master's dns change if it's been disconnected.
Expand Down

0 comments on commit d972d1e

Please sign in to comment.