update udp test
This commit is contained in:
parent
edc6810283
commit
acb46253ff
@ -1,5 +1,4 @@
|
|||||||
math.randomseed(43172)
|
for i = 1, 3 do
|
||||||
for i = 1, 15 do
|
|
||||||
debug.log(string.format("iteration %s", i))
|
debug.log(string.format("iteration %s", i))
|
||||||
local complete = false
|
local complete = false
|
||||||
|
|
||||||
@ -30,6 +29,7 @@ for i = 1, 15 do
|
|||||||
end, "udp-data-sender")
|
end, "udp-data-sender")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
app.sleep_until(function () return complete end, nil, 5)
|
app.sleep_until(function () return complete end, nil, 1)
|
||||||
|
assert(complete, "timeout at iteration #"..i)
|
||||||
server:close()
|
server:close()
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user