mirror of https://github.com/ARMmbed/mbed-os.git
nanostack-mac-tester sync with v1.0.1
Sync application and testcases with v1.0.1 of the master copy.pull/9370/head
parent
f1f4efd8ad
commit
a8d3685e4a
|
@ -121,7 +121,11 @@ class Testcase(Bench):
|
||||||
except TestStepFail:
|
except TestStepFail:
|
||||||
self.logger.info("Warning, iteration failed #" + str(loop+1))
|
self.logger.info("Warning, iteration failed #" + str(loop+1))
|
||||||
loop = loop + 1
|
loop = loop + 1
|
||||||
|
if (loop < 5):
|
||||||
|
self.stop_event.set()
|
||||||
|
self.th.join()
|
||||||
self.delay(5)
|
self.delay(5)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
raise TestStepFail("Too many failed iterations!")
|
raise TestStepFail("Too many failed iterations!")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue