Mercurial > vim
changeset 36167:9d1ff79eebbb v9.1.0737
patch 9.1.0737: tests: screendump tests may require a bit more time
Commit: https://github.com/vim/vim/commit/9dfe1110fdcd2f54b56ac789df6167807a867391
Author: Aliaksei Budavei <0x000c70@gmail.com>
Date: Thu Sep 19 19:43:14 2024 +0200
patch 9.1.0737: tests: screendump tests may require a bit more time
Problem: Asynchronous terminal jobs occassionally require more time
to complete and redraw the window
Solution: increase the sleep value from 10 to 50 milliseconds
(Aliaksei Budavei)
closes: #15695
Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 19 Sep 2024 20:00:05 +0200 |
parents | 89b487b08b2a |
children | 7ffac4b8dd96 |
files | src/testdir/screendump.vim src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/screendump.vim +++ b/src/testdir/screendump.vim @@ -80,7 +80,7 @@ func VerifyScreenDump(buf, filename, opt let i = 0 while 1 " leave some time for updating the original window - sleep 10m + sleep 50m call delete(testfile) call term_dumpwrite(a:buf, testfile, a:options) let testdump = ReadAndFilter(testfile, filter)