Skip to content

Commit

Permalink
test: fix flaky fix-slots-overflow-for-varg-record
Browse files Browse the repository at this point in the history
The aforementioned test is flaky when it is run by Tarantool, since the
necessary trace isn't compiled due to hotcount collisions. This patch
fixes this by adding the additional reset of hot counters.

Reviewed-by: Maxim Kokryashkin <[email protected]>
Reviewed-by: Sergey Bronnikov <[email protected]>
Signed-off-by: Sergey Kaplun <[email protected]>
(cherry picked from commit 21fdfef)
  • Loading branch information
Buristan committed Dec 23, 2024
1 parent 1623e1c commit e686924
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ wrapper()

assert(not traceinfo(1), 'no traces recorded')

-- Reset hot counters to avoid collisions and blacklisting.
jit.opt.start('hotloop=1')

-- The simplest trace to compile.
for _ = 1, 4 do end

Expand Down

0 comments on commit e686924

Please sign in to comment.