mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: mouse_spec: remove obnoxious wait times (#7029)
helpers.skip_fragile() already skips the problematic tests on the ASan build. But the 15s timeout plus 5s 'mousetime' cause the tests to take 1+ minutes anyways.
This commit is contained in:
parent
8898793ade
commit
d72db1ac8f
@ -13,9 +13,6 @@ describe('ui/mouse/input', function()
|
|||||||
clear()
|
clear()
|
||||||
meths.set_option('mouse', 'a')
|
meths.set_option('mouse', 'a')
|
||||||
meths.set_option('listchars', 'eol:$')
|
meths.set_option('listchars', 'eol:$')
|
||||||
-- set mousetime to very high value to ensure that even in valgrind/travis,
|
|
||||||
-- nvim will still pick multiple clicks
|
|
||||||
meths.set_option('mousetime', 5000)
|
|
||||||
screen = Screen.new(25, 5)
|
screen = Screen.new(25, 5)
|
||||||
screen:attach()
|
screen:attach()
|
||||||
screen:set_default_attr_ids({
|
screen:set_default_attr_ids({
|
||||||
@ -119,7 +116,6 @@ describe('ui/mouse/input', function()
|
|||||||
sel = { bold=true },
|
sel = { bold=true },
|
||||||
fill = { reverse=true }
|
fill = { reverse=true }
|
||||||
})
|
})
|
||||||
screen.timeout = 15000
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('in tabline on filler space moves tab to the end', function()
|
it('in tabline on filler space moves tab to the end', function()
|
||||||
|
Loading…
Reference in New Issue
Block a user