Merge pull request #9234 from artokin/nanostack-mac-tester-update

nanostack-mac-tester sync with v1.0.1
pull/9256/head
Martin Kojtal 2019-01-04 08:57:40 +00:00 committed by GitHub
commit 9ca15a77e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -121,7 +121,11 @@ class Testcase(Bench):
except TestStepFail:
self.logger.info("Warning, iteration failed #" + str(loop+1))
loop = loop + 1
self.delay(5)
if (loop < 5):
self.stop_event.set()
self.th.join()
self.delay(5)
else:
raise TestStepFail("Too many failed iterations!")