diff options
| author | Bram Moolenaar <Bram@vim.org> | 2020-04-08 21:50:25 +0200 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2020-04-08 21:50:25 +0200 |
| commit | 6a2c5a7dd5c9215cc030d5ea6e4616d782c091dd (patch) | |
| tree | c3c2d559b959ba7b6776212f5e071683b8079a96 /src/testdir/test_diffmode.vim | |
| parent | 7035fd9d909c49cf5105a53753c1772c193d05b8 (diff) | |
| download | vim-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_diffmode.vim')
| -rw-r--r-- | src/testdir/test_diffmode.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_diffmode.vim b/src/testdir/test_diffmode.vim index 07aa919f4..a251d3fec 100644 --- a/src/testdir/test_diffmode.vim +++ b/src/testdir/test_diffmode.vim @@ -801,7 +801,7 @@ func VerifyInternal(buf, dumpfile, extra) call term_sendkeys(a:buf, ":diffupdate!\<CR>") " trailing : for leaving the cursor on the command line call term_sendkeys(a:buf, ":set diffopt=internal,filler" . a:extra . "\<CR>:") - call term_wait(a:buf) + call TermWait(a:buf) call VerifyScreenDump(a:buf, a:dumpfile, {}) endfunc |
