Skip to content

Commit ad51fdf

Browse files
author
Arto Kinnunen
committed
nanostack-mac-tester sync with v1.0.1
Sync application and testcases with v1.0.1 of the master copy.
1 parent 51b8d6e commit ad51fdf

File tree

1 file changed

+5
-1
lines changed
  • TEST_APPS/testcases/nanostack_mac_tester

1 file changed

+5
-1
lines changed

TEST_APPS/testcases/nanostack_mac_tester/ED_scan.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,11 @@ def case(self):
121121
except TestStepFail:
122122
self.logger.info("Warning, iteration failed #" + str(loop+1))
123123
loop = loop + 1
124-
self.delay(5)
124+
if (loop < 5):
125+
self.stop_event.set()
126+
self.th.join()
127+
self.delay(5)
128+
125129
else:
126130
raise TestStepFail("Too many failed iterations!")
127131

0 commit comments

Comments
 (0)