test(lua): avoid async task completion flake #41702

Allow enough time for the timer and scheduled continuation to run on
Windows.

fixes #41699

AI-assisted
This commit is contained in:
Lewis Russell
2026-09-04 17:51:23 +01:00
committed by GitHub
parent f1833490a0
commit 630e0592b7

View File

@@ -288,7 +288,7 @@ describe('async', function()
return nil, 1
end)
local r1, r2 = task:wait(10)
local r1, r2 = task:wait(100)
eq(r1, nil)
eq(r2, 1)
end)