Merged in [10718] from olau@iola.dk:

Set daemon = True on the thread in the SMTP test server running while
running tests. This fixes the annoying problem of the python process
staying alive after certain bugs in the test invocation or after a
plain Ctrl + c.
 - Legacy-Id: 10859
Note: SVN reference [10718] has been migrated to Git commit d67a96b4f0
This commit is contained in:
Henrik Levkowetz 2016-02-25 20:04:57 +00:00
parent e4ce370e39
commit 15460b3cff
2 changed files with 4 additions and 1 deletions

View file

@ -14,7 +14,8 @@ class AsyncCoreLoopThread(object):
"""Start the listening service"""
self.exit_condition = []
kwargs={'exit_condition':self.exit_condition,'timeout':1.0}
self.thread = threading.Thread(target=self.wrap_loop,kwargs=kwargs )
self.thread = threading.Thread(target=self.wrap_loop, kwargs=kwargs)
self.thread.daemon = True
self.thread.start()
def stop(self):

View file

@ -7,6 +7,8 @@
# --- Add entries at the top ---
/branch/iola/community-list-cleanup-r10639@10718
/personal/housley/v6.14.2.dev0@10834
/personal/housley/v6.8.1.dev0@10773
/personal/housley/v6.8.1.dev0@10772