Tarantool development patches archive
 help / color / mirror / Atom feed
From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Sergey Bronnikov <sergeyb@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH luajit] test: fixup misclib-sysprof-lapi flaky test
Date: Tue, 31 Mar 2026 18:58:18 +0300	[thread overview]
Message-ID: <20260331155818.17059-1-skaplun@tarantool.org> (raw)

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


             reply	other threads:[~2026-03-31 15:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-31 15:58 Sergey Kaplun via Tarantool-patches [this message]
2026-04-01 12:10 ` Sergey Bronnikov via Tarantool-patches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260331155818.17059-1-skaplun@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=sergeyb@tarantool.org \
    --cc=skaplun@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH luajit] test: fixup misclib-sysprof-lapi flaky test' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox