nanostack-mac-tester sync with v1.0.1

Sync application and testcases with v1.0.1 of the master copy.
pull/9370/head
Arto Kinnunen 2019-01-03 14:29:05 +02:00 committed by adbridge
parent f1f4efd8ad
commit a8d3685e4a
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
if (loop < 5):
self.stop_event.set()
self.th.join()
self.delay(5)
else:
raise TestStepFail("Too many failed iterations!")