[Tarantool-patches] [PATCH luajit] test: fixup misclib-sysprof-lapi flaky test
Sergey Kaplun
skaplun at tarantool.org
Tue Mar 31 18:58:18 MSK 2026
In CI the aforementioned test may be flaky since there is no invocation
of the profiler's timer due to the too fast payload run. This patch
makes the payload run almost one and a half times longer to be sure that
we obtain at least one event.
---
Branch: https://github.com/tarantool/luajit/tree/skaplun/fix-flaky-sysprof
test/tarantool-tests/profilers/misclib-sysprof-lapi.test.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/tarantool-tests/profilers/misclib-sysprof-lapi.test.lua b/test/tarantool-tests/profilers/misclib-sysprof-lapi.test.lua
index 86115b62..4476e511 100644
--- a/test/tarantool-tests/profilers/misclib-sysprof-lapi.test.lua
+++ b/test/tarantool-tests/profilers/misclib-sysprof-lapi.test.lua
@@ -36,7 +36,7 @@ local function payload()
end
return fib(n - 1) + fib(n - 2)
end
- return fib(32)
+ return fib(33)
end
local function generate_output(opts)
--
2.53.0
More information about the Tarantool-patches
mailing list