bugfix in test: script must yield to avoid infinitely looping at receive messages
This commit is contained in:
parent
000fd29f4c
commit
268df2cadf
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ mote.getInterfaces().getButton().clickButton()
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
/* Only handle receive messages */
|
/* Only handle receive messages */
|
||||||
WAIT_UNTIL(msg.contains('received'));
|
YIELD_AND_WAIT_UNTIL(msg.contains('received'));
|
||||||
|
|
||||||
/* Remember receiving node */
|
/* Remember receiving node */
|
||||||
log.log(id + " received a message\n");
|
log.log(id + " received a message\n");
|
||||||
|
|
Loading…
Reference in a new issue