mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #50530 from terminalmage/salt-jenkins-1209
Enable proxy/ssh daemons when filename mapping causes those tests to be run
This commit is contained in:
commit
46514818a5
1 changed files with 8 additions and 0 deletions
|
@ -449,6 +449,14 @@ class SaltTestingParser(optparse.OptionParser):
|
|||
ret.update(filename_map[path_expr])
|
||||
break
|
||||
|
||||
if any(x.startswith('integration.proxy.') for x in ret):
|
||||
# Ensure that the salt-proxy daemon is started for these tests.
|
||||
self.options.proxy = True
|
||||
|
||||
if any(x.startswith('integration.ssh.') for x in ret):
|
||||
# Ensure that an ssh daemon is started for these tests.
|
||||
self.options.ssh = True
|
||||
|
||||
return ret
|
||||
|
||||
def parse_args(self, args=None, values=None):
|
||||
|
|
Loading…
Add table
Reference in a new issue