Skip to content

Commit c833359

Browse files
committed
test: fix flaky fix-slots-overflow-for-varg-record
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 <m.kokryashkin@tarantool.org> Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org> (cherry picked from commit 21fdfef)
1 parent 38d0a83 commit c833359

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/tarantool-tests/fix-slots-overflow-for-varg-record.test.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ wrapper()
8989

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

92+
-- Reset hot counters to avoid collisions and blacklisting.
93+
jit.opt.start('hotloop=1')
94+
9295
-- The simplest trace to compile.
9396
for _ = 1, 4 do end
9497

0 commit comments

Comments
 (0)