mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix windows tests
This commit is contained in:
parent
82e9ac5b8f
commit
8694db10d7
1 changed files with 6 additions and 2 deletions
|
@ -655,8 +655,12 @@ def _fetch_events(q):
|
|||
queue_item.task_done()
|
||||
|
||||
atexit.register(_clean_queue)
|
||||
opts = RUNTIME_VARS.RUNTIME_CONFIGS['minion']
|
||||
event = salt.utils.event.get_event('minion', sock_dir=opts['sock_dir'], opts=opts)
|
||||
a_config = AdaptedConfigurationTestCaseMixin()
|
||||
event = salt.utils.event.get_event(
|
||||
'minion',
|
||||
sock_dir=a_config.get_config('minion')['sock_dir'],
|
||||
opts=a_config.get_config('minion'),
|
||||
)
|
||||
|
||||
# Wait for event bus to be connected
|
||||
while not event.connect_pull(30):
|
||||
|
|
Loading…
Add table
Reference in a new issue