mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove some perms checks in conftest.py
Remove checks for perms on /var/log/salt/master and /var/run/salt/master in the salt_master fixture as they may not existing during an upgrade test and it's not critical to test them in the fixture.
This commit is contained in:
parent
b3d2a55535
commit
39b464a58d
1 changed files with 0 additions and 2 deletions
|
@ -354,11 +354,9 @@ def salt_master(salt_factories, install_salt, state_tree, pillar_tree):
|
|||
)
|
||||
# verify files were set with correct owner/group
|
||||
verify_files = [
|
||||
pathlib.Path("/var", "log", "salt", "master"),
|
||||
pathlib.Path("/etc", "salt", "pki", "master"),
|
||||
pathlib.Path("/etc", "salt", "master.d"),
|
||||
pathlib.Path("/var", "cache", "salt", "master"),
|
||||
pathlib.Path("/var", "run", "salt", "master"),
|
||||
]
|
||||
for _file in verify_files:
|
||||
assert _file.owner() == "salt"
|
||||
|
|
Loading…
Add table
Reference in a new issue