fix orphan threads

Change-Id: I9305a8e456bf8725902affc6af7e629970d92a5f
This commit is contained in:
Vinod 2016-12-15 23:46:12 -08:00
parent c23b7ebbd4
commit ce7526de3a
1 changed files with 3 additions and 0 deletions

View File

@ -91,3 +91,6 @@ def timerfunc(*args, **kwargs):
testthreads.append(testthr)
testthr.start()
LOG.debug(_LI('REPFUNCTION, exec test %s') % test['name'])
for thr in testthreads:
thr.join()
testthreads.remove(thr)