mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Disable macOS Mojave log forwarding on the proxy minion tests
Fixes https://github.com/saltstack/salt/issues/60201
This commit is contained in:
parent
0c29595fb6
commit
5ae3bc9821
1 changed files with 3 additions and 1 deletions
|
@ -297,13 +297,15 @@ def salt_sub_minion_factory(salt_master_factory, salt_sub_minion_id):
|
|||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def salt_proxy_factory(salt_master_factory):
|
||||
def salt_proxy_factory(salt_master_factory, grains):
|
||||
proxy_minion_id = random_string("proxytest-")
|
||||
|
||||
config_overrides = {
|
||||
"file_roots": salt_master_factory.config["file_roots"].copy(),
|
||||
"pillar_roots": salt_master_factory.config["pillar_roots"].copy(),
|
||||
}
|
||||
if salt.utils.platform.is_darwin() and tuple(grains["osrelease_info"]) < (10, 50):
|
||||
config_overrides["pytest-minion"] = {"log": {"disabled": True}}
|
||||
|
||||
factory = salt_master_factory.salt_proxy_minion_daemon(
|
||||
proxy_minion_id,
|
||||
|
|
Loading…
Add table
Reference in a new issue