mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add user to integration verify_env
This commit is contained in:
parent
58f1ee2b4e
commit
400a429502
1 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@ Set up the Salt integration test suite
|
|||
# Import Python libs
|
||||
import multiprocessing
|
||||
import os
|
||||
import pwd
|
||||
import sys
|
||||
import shutil
|
||||
import signal
|
||||
|
@ -85,7 +86,8 @@ class TestDaemon(object):
|
|||
self.sub_minion_opts['pki_dir'],
|
||||
self.master_opts['sock_dir'],
|
||||
self.smaster_opts['sock_dir'],
|
||||
])
|
||||
],
|
||||
pwd.getpwuid(os.getuid())[0])
|
||||
|
||||
master = salt.master.Master(self.master_opts)
|
||||
self.master_process = multiprocessing.Process(target=master.start)
|
||||
|
|
Loading…
Add table
Reference in a new issue