Skip to content

Commit 55f1136

Browse files
phanenibhagwan
authored andcommitted
ci: disable flaky test on windows
It seems enable ui2 have other werid flaky issue. I don't find any workaround, so skip it now.
1 parent 64edfa9 commit 55f1136

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

tests/actions_spec.lua

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ T["actions"] = new_set({ n_retry = not helpers.IS_LINUX() and 5 or nil })
1717

1818
T["actions"]["ui don't freeze on error"] = function()
1919
helpers.SKIP_IF_NOT_NIGHTLY()
20+
helpers.SKIP_IF_WIN()
2021
-- reload({ "hide" })
2122
local screen_opts = { start_line = 1, end_line = 10, ignore_text = { 28 } }
2223
-- fix flaky hit enter prompt on windows
23-
exec_lua([[
24-
local extui = vim.F.npcall(require, 'vim._core.ui2') or vim.F.npcall(require, 'vim._extui')
25-
if extui then extui.enable({}) end
26-
]])
24+
-- TODO: but enable ui2 have other werid flaky
25+
-- exec_lua([[
26+
-- local extui = vim.F.npcall(require, 'vim._core.ui2') or vim.F.npcall(require, 'vim._extui')
27+
-- if extui then extui.enable({}) end
28+
-- ]])
2729
exec_lua(
2830
[[FzfLua.fzf_exec({ "aaa", "bbb" }, {
2931
actions = { enter = { fn = error, exec_silent = true } },

0 commit comments

Comments
 (0)