Hopefully fix flakiness in rednet test

This commit is contained in:
Jonathan Coates 2021-07-24 00:00:37 +01:00
parent b31e66686d
commit 0568c86628
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
1 changed files with 3 additions and 3 deletions

View File

@ -2,11 +2,11 @@
rednet.open("top")
rednet.send(14, "Test msg")
local id, msg
repeat
id, msg = rednet.receive()
rednet.send(14, "Test msg") -- Keep sending, as other computer may not have started yet.
id, msg = rednet.receive(nil, 1)
print(id, msg)
until id == 14