Join thread on test exit to avoid race condition.

This commit is contained in:
Aldo Cortesi 2012-06-09 20:42:43 +12:00
parent 00c8bef0ff
commit b1f410c78d

View File

@ -20,6 +20,7 @@ class Daemon:
def shutdown(self):
requests.post("%s/api/shutdown"%self.urlbase, verify=False)
self.thread.join()
class PaThread(threading.Thread):