mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Write to stderr a message with the exit code
This commit is contained in:
parent
566c620e35
commit
9035731e14
1 changed files with 3 additions and 6 deletions
|
@ -848,12 +848,9 @@ class SaltTestingParser(optparse.OptionParser):
|
|||
if children:
|
||||
log.info('Second run at terminating test suite child processes: %s', children)
|
||||
helpers.terminate_process(children=children, kill_children=True)
|
||||
log.info(
|
||||
'Test suite execution finalized with exit code: {0}'.format(
|
||||
exit_code
|
||||
)
|
||||
)
|
||||
self.exit(exit_code)
|
||||
exit_msg = 'Test suite execution finalized with exit code: {}'.format(exit_code)
|
||||
log.info(exit_msg)
|
||||
self.exit(status=exit_code, msg=exit_msg + '\n')
|
||||
|
||||
def run_suite_in_docker(self):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue