mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: Increase default_screen_timeout when running on travis
Some screen tests such as system/ctrl+c(viml_system_spec.lua) can take some time to respond(default kill timeout is 2 seconds for an interrupted job) and fail when running under a slow environment such as travis.
This commit is contained in:
parent
291e15c60a
commit
98dca8a827
@ -116,7 +116,11 @@ local debug_screen
|
|||||||
|
|
||||||
local default_screen_timeout = 2500
|
local default_screen_timeout = 2500
|
||||||
if os.getenv('VALGRIND') then
|
if os.getenv('VALGRIND') then
|
||||||
default_screen_timeout = 7500
|
default_screen_timeout = default_screen_timeout * 3
|
||||||
|
end
|
||||||
|
|
||||||
|
if os.getenv('CI_TARGET') then
|
||||||
|
default_screen_timeout = default_screen_timeout * 3
|
||||||
end
|
end
|
||||||
|
|
||||||
local colors = request('vim_get_color_map')
|
local colors = request('vim_get_color_map')
|
||||||
|
Loading…
Reference in New Issue
Block a user