bugfix in test: script must yield to avoid infinitely looping at receive messages

This commit is contained in:
fros4943 2009-01-08 17:34:49 +00:00
parent 000fd29f4c
commit 268df2cadf
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ mote.getInterfaces().getButton().clickButton()
while (true) {
/* Only handle receive messages */
WAIT_UNTIL(msg.contains('received'));
YIELD_AND_WAIT_UNTIL(msg.contains('received'));
/* Remember receiving node */
log.log(id + " received a message\n");