mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-14 04:00:30 +00:00
Hopefully fix flakiness in rednet test
This commit is contained in:
parent
b31e66686d
commit
0568c86628
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user