提交 0b3e2cae 编写于 作者: L Lukáš Doktor

sysinfo: Stop daemons in end_test_hook

The daemons has to be also stopped in end_test_hook, otherwise they
would be preserved after Avocado is finished.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 97904054
......@@ -611,6 +611,10 @@ class SysInfo(object):
"""
for log in self.end_test_collectibles:
log.run(self.post_dir)
# Stop daemon(s) started previously
for log in self.start_test_collectibles:
if isinstance(log, Daemon):
log.stop()
if self.log_packages:
self._log_modified_packages(self.post_dir)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册