1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Subject: Increase timeout of "threadpool with async" test
On arm64 the 10 ms has been too quick most of the time, causing the test to
teardown before the async callback has been called and therefore fail the
test. Bump the sleep up to 100 ms to give more time.
Author: James McCoy <jamessan@debian.org>
Last-Update: 2024-08-31
Bug-Upstream: https://github.com/luvit/luv/issues/715
Forwarded: not-needed
---
diff --git i/tests/test-work.lua w/tests/test-work.lua
index 0611b57..f635a65 100644
--- i/tests/test-work.lua
+++ w/tests/test-work.lua
@@ -75,7 +75,7 @@ return require('lib/tap')(function (test)
if a then
assert(uv.async_send(a,'a',true,250)==0)
end
- uv.sleep(10)
+ uv.sleep(100)
return n, n*n, t, s
end,
function(n,r,id, s) --after work, in loop thread
|