Skip to content

Commit 3d206dd

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.
1 parent 3f4f46a commit 3d206dd

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

+3
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)