Commit: patch 9.1.0737: tests: screendump tests may require a bit more time

3 views
Skip to first unread message

Christian Brabandt

unread,
Sep 19, 2024, 2:00:13 PM9/19/24
to vim...@googlegroups.com
patch 9.1.0737: tests: screendump tests may require a bit more time

Commit: https://github.com/vim/vim/commit/9dfe1110fdcd2f54b56ac789df6167807a867391
Author: Aliaksei Budavei <0x00...@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 <0x00...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/screendump.vim b/src/testdir/screendump.vim
index a2a54f4ec..e7cda2ef4 100644
--- a/src/testdir/screendump.vim
+++ b/src/testdir/screendump.vim
@@ -80,7 +80,7 @@ func VerifyScreenDump(buf, filename, options, ...)
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)
diff --git a/src/version.c b/src/version.c
index d5aed3614..5f20651b1 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 737,
/**/
736,
/**/
Reply all
Reply to author
Forward
0 new messages