From f8639dc99cb085432b14da086af316176152bc1f Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 10 Nov 2018 11:12:04 +0100 Subject: 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 to happen with X=10ms, Y=40ms. --- test/functional/terminal/window_split_tab_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/terminal') diff --git a/test/functional/terminal/window_split_tab_spec.lua b/test/functional/terminal/window_split_tab_spec.lua index 3843af3a47..fecffe3295 100644 --- a/test/functional/terminal/window_split_tab_spec.lua +++ b/test/functional/terminal/window_split_tab_spec.lua @@ -68,7 +68,7 @@ describe('terminal', function() end) it('forwards resize request to the program', function() - feed([[:]]) -- Go to cmdline-mode, so cursor is at bottom. + feed([[G:]]) -- Go to cmdline-mode, so cursor is at bottom. local w1, h1 = screen._width - 3, screen._height - 2 local w2, h2 = w1 - 6, h1 - 3 -- cgit