mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Allow changing the minion count with an environment variable
This commit is contained in:
parent
19e49400f0
commit
4c9f345a95
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
import os
|
||||
from contextlib import ExitStack
|
||||
|
||||
import pytest
|
||||
|
@ -39,7 +40,8 @@ def salt_cli(salt_master):
|
|||
|
||||
@pytest.fixture(scope="package")
|
||||
def minion_count():
|
||||
return 20
|
||||
# Allow this to be changed via an environment variable if needed
|
||||
return int(os.environ.get("SALT_CI_MINION_SWARM_COUNT", 20))
|
||||
|
||||
|
||||
@pytest.fixture(scope="package")
|
||||
|
|
Loading…
Add table
Reference in a new issue