mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
tests: skip watch.watchdirs test on macos 14 CI
Problem: Strange failure only in macos 14 CI FAILED test/functional/lua/watch_spec.lua @ 82: vim._watch watchdirs() detects file changes test/functional/lua/watch_spec.lua:149: Expected objects to be the same. Passed in: (table: 0x0116023758) { *[1] = { [change_type] = 3 *[path] = '/Users/runner/work/neovim/neovim/build/Xtest_tmpdir/nvim_KFMvPbXk9a/nvim_KFMvPbXk9a' } [2] = { [change_type] = 3 [path] = '/Users/runner/work/neovim/neovim/build/Xtest_tmpdir/nvim_KFMvPbXk9a/file' } } Expected: (table: 0x010d9d6548) { *[1] = { [change_type] = 1 *[path] = '/Users/runner/work/neovim/neovim/build/Xtest_tmpdir/nvim_KFMvPbXk9a/file' } [2] = { [change_type] = 3 [path] = '/Users/runner/work/neovim/neovim/build/Xtest_tmpdir/nvim_KFMvPbXk9a/file' } } stack traceback: test/functional/lua/watch_spec.lua:149: in function <test/functional/lua/watch_spec.lua:82> Solution: Skip test for that exact version.
This commit is contained in:
parent
9e23b4e185
commit
bbf208784c
@ -90,6 +90,9 @@ describe('vim._watch', function()
|
|||||||
if watchfunc == 'watch' then
|
if watchfunc == 'watch' then
|
||||||
skip(is_os('mac'), 'flaky test on mac')
|
skip(is_os('mac'), 'flaky test on mac')
|
||||||
skip(is_os('bsd'), 'Stopped working on bsd after 3ca967387c49c754561c3b11a574797504d40f38')
|
skip(is_os('bsd'), 'Stopped working on bsd after 3ca967387c49c754561c3b11a574797504d40f38')
|
||||||
|
elseif watchfunc == 'watchdirs' and is_os('mac') then
|
||||||
|
-- Bump this (or fix the bug) if CI continues to fail in future versions of macos CI.
|
||||||
|
skip(is_ci() and vim.uv.os_uname().release == '23.6.0', 'weird failure for macOS arm 14 CI')
|
||||||
else
|
else
|
||||||
skip(
|
skip(
|
||||||
is_os('bsd'),
|
is_os('bsd'),
|
||||||
|
Loading…
Reference in New Issue
Block a user