[Tarantool-patches] [PATCH luajit] test: fixup misclib-sysprof-lapi flaky test

Sergey Bronnikov sergeyb at tarantool.org
Wed Apr 1 15:10:11 MSK 2026


Hi, Sergey!

thanks for the patch! LGTM

Sergey

On 3/31/26 18:58, Sergey Kaplun wrote:
> 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20260401/e223dcec/attachment.htm>


More information about the Tarantool-patches mailing list