Merge pull request #38059 from rallytime/daemons-test-fix

Call exec_test for the Syndic daemon in tests.unit.daemons_test.py
This commit is contained in:
Mike Place 2016-12-03 21:18:41 -07:00 committed by GitHub
commit 9dcfdeef6b

View file

@ -227,11 +227,13 @@ class DaemonsStarterTestCase(TestCase, integration.SaltClientTestCaseMixIn):
for alg in ['sha224', 'sha256', 'sha384', 'sha512']:
_create_syndic().start()
ret = ret and _logger.last_type is None \
and _logger.last_message
and not _logger.last_message
child_pipe.send(ret)
child_pipe.close()
self._multiproc_exec_test(exec_test)
if __name__ == '__main__':
from integration import run_tests
run_tests(DaemonsStarterTestCase, needs_daemon=False)