diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-11-10 11:12:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-10 11:12:04 +0100 |
commit | f8639dc99cb085432b14da086af316176152bc1f (patch) | |
tree | 263e43a20db393e05c6c35b3dc1d908cb39581b4 /test/functional/ui/inccommand_spec.lua | |
parent | 18435a25347eeecb0886281d278c060aa7f82f6c (diff) | |
download | rneovim-f8639dc99cb085432b14da086af316176152bc1f.tar.gz rneovim-f8639dc99cb085432b14da086af316176152bc1f.tar.bz2 rneovim-f8639dc99cb085432b14da086af316176152bc1f.zip |
test: adjust time-sensitive tests (#9220)
- window_split_tab_spec.lua: Put cursor at bottom of :terminal buffer so
that it follows output.
- inccommand_spec.lua: Increase timeout to allow 2nd retry.
- Timer tests are less reliable on Travis CI macOS 10.12/10.13.
ref #6829
ref e39dade80b02
ref de13113dc16e
ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452
> We don't guarantee that a X ms timer is triggered during Y ms sleep
> for any X<Y, though I would expect the load to be really bad for this
> to happen with X=10ms, Y=40ms.
Diffstat (limited to 'test/functional/ui/inccommand_spec.lua')
-rw-r--r-- | test/functional/ui/inccommand_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ui/inccommand_spec.lua b/test/functional/ui/inccommand_spec.lua index 736a314426..bb6cb543ed 100644 --- a/test/functional/ui/inccommand_spec.lua +++ b/test/functional/ui/inccommand_spec.lua @@ -2512,7 +2512,7 @@ describe(":substitute", function() end) it(':substitute with inccommand during :terminal activity', function() - retry(2, nil, function() + retry(2, 40000, function() local screen = Screen.new(30,15) clear() |