summaryrefslogtreecommitdiff
path: root/src/testdir/test_tagjump.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-08 21:50:25 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-08 21:50:25 +0200
commit6a2c5a7dd5c9215cc030d5ea6e4616d782c091dd (patch)
treec3c2d559b959ba7b6776212f5e071683b8079a96 /src/testdir/test_tagjump.vim
parent7035fd9d909c49cf5105a53753c1772c193d05b8 (diff)
downloadvim-git-6a2c5a7dd5c9215cc030d5ea6e4616d782c091dd.tar.gz
patch 8.2.0533: tests using term_wait() can still be flakyv8.2.0533
Problem: Tests using term_wait() can still be flaky. Solution: Increase the wait time when rerunning a test. (James McCoy, closes #5899) Halve the initial times to make tests run faster when there is no rerun.
Diffstat (limited to 'src/testdir/test_tagjump.vim')
-rw-r--r--src/testdir/test_tagjump.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_tagjump.vim b/src/testdir/test_tagjump.vim
index 6b73239ed..99526005e 100644
--- a/src/testdir/test_tagjump.vim
+++ b/src/testdir/test_tagjump.vim
@@ -544,7 +544,7 @@ func Test_tselect()
call writefile(lines, 'XTest_tselect')
let buf = RunVimInTerminal('-S XTest_tselect', {'rows': 10, 'cols': 50})
- call term_wait(buf, 100)
+ call TermWait(buf, 50)
call term_sendkeys(buf, ":tselect main\<CR>2\<CR>")
call VerifyScreenDump(buf, 'Test_tselect_1', {})