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 authored and GitHub committed 2026-09-04 12:51:23 -04:00
1 parent f1833490a0
commit 630e0592b7
1 file changed
+1 -1
+1 -1
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)