Skip to content

Commit e010607

Browse files
committed
test: conditionally disable flaky lj-1196
The test may lead to the assertion failure if run under Tarantool. Also, the skip condition for the Tarantool leads to stable fails for some builds on x86/x64 architecture, so they are skipped as well. See details in the comment to the skip conditions.
1 parent 046e9b3 commit e010607

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/tarantool-tests/lj-1196-partial-snap-restore.test.lua

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@ local tap = require('tap')
44
-- in case of the stack overflow.
55
-- See also: https://github.com/LuaJIT/LuaJIT/issues/1196.
66

7-
local test = tap.test('lj-1196-partial-snap-restore')
7+
local test = tap.test('lj-1196-partial-snap-restore'):skipcond({
8+
-- Disable test for Tarantool to avoid failures, see also:
9+
-- https://github.com/LuaJIT/LuaJIT/issues/1369.
10+
['Disabled for Tarantool due to lj-1369'] = _TARANTOOL,
11+
-- Also, it may fail on some non-arm64 runners stable after
12+
-- adding the skip condition above.
13+
['Disabled for x86/x64 due to lj-1369'] = jit.arch ~= 'arm64',
14+
})
815

916
test:plan(1)
1017

0 commit comments

Comments
 (0)