aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-12-02 20:27:39 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-12-05 01:46:40 +0100
commita11751eae864b4373d4dfc52905b682ae6ed84d4 (patch)
tree6156b0ee3f328493f1d2f860d8f135b287bf146e
parent1cae99b4bf6517d559ff222b968c314198923260 (diff)
downloadrneovim-a11751eae864b4373d4dfc52905b682ae6ed84d4.tar.gz
rneovim-a11751eae864b4373d4dfc52905b682ae6ed84d4.tar.bz2
rneovim-a11751eae864b4373d4dfc52905b682ae6ed84d4.zip
test: tui_spec: narrower scope for timeout tweaks
-rw-r--r--test/functional/terminal/tui_spec.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua
index d5f6a21d1d..c33845e6d9 100644
--- a/test/functional/terminal/tui_spec.lua
+++ b/test/functional/terminal/tui_spec.lua
@@ -21,9 +21,6 @@ describe('tui', function()
clear()
screen = thelpers.screen_setup(0, '["'..nvim_prog
..'", "-u", "NONE", "-i", "NONE", "--cmd", "set noswapfile noshowcmd noruler undodir=. directory=. viewdir=. backupdir=."]')
- -- right now pasting can be really slow in the TUI, especially in ASAN.
- -- this will be fixed later but for now we require a high timeout.
- screen.timeout = 60000
screen:expect([[
{1: } |
{4:~ }|
@@ -125,6 +122,9 @@ describe('tui', function()
end)
it('automatically sends <Paste> for bracketed paste sequences', function()
+ -- Pasting can be really slow in the TUI, specially in ASAN.
+ -- This will be fixed later but for now we require a high timeout.
+ screen.timeout = 60000
feed_data('i\027[200~')
screen:expect([[
{1: } |
@@ -158,6 +158,8 @@ describe('tui', function()
end)
it('can handle arbitrarily long bursts of input', function()
+ -- Need extra time for this test, specially in ASAN.
+ screen.timeout = 60000
feed_command('set ruler')
local t = {}
for i = 1, 3000 do