patch 9.1.1067: tests: Test_termwinscroll_topline2 fails on MacOS

Commit: 
https://github.com/vim/vim/commit/44a21351a8e34bce5b4b87aa7f290738fe4fa5f5
Author: Christian Brabandt <c...@256bit.org>
Date:   Sun Feb 2 09:03:00 2025 +0100

    patch 9.1.1067: tests: Test_termwinscroll_topline2 fails on MacOS
    
    Problem:  tests: Test_termwinscroll_topline2 fails on MacOS
              (after v9.1.1062)
    Solution: reduce termwinscroll further, increase term_wait time
    
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_terminal2.vim b/src/testdir/test_terminal2.vim
index 57944bedf..c6edea99a 100644
--- a/src/testdir/test_terminal2.vim
+++ b/src/testdir/test_terminal2.vim
@@ -291,7 +291,7 @@ endfunc
 
 func Test_termwinscroll_topline2()
   let g:test_is_flaky = 1
-  set termwinscroll=75000 mouse=a
+  set termwinscroll=50000 mouse=a
   if !has('win32')
     set shell=sh
   endif
@@ -311,7 +311,7 @@ func Test_termwinscroll_topline2()
   endif
   let rows = term_getsize(buf)[0]
   " It may take a while to finish on a slow system
-  call term_wait(buf, 1000 * g:run_nr)
+  call term_wait(buf, 2000 * g:run_nr)
   " On MS-Windows there is an empty line, check both last line and above it.
   call WaitForAssert({-> assert_match(string(num1 - 1), term_getline(buf, rows 
- 1) .. '\|' .. term_getline(buf, rows - 2))})
   call feedkeys("\<C-W>N", 'xt')
diff --git a/src/version.c b/src/version.c
index 9519d6905..21e2787d1 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 */
+/**/
+    1067,
 /**/
     1066,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1teV8B-000Plk-UD%40256bit.org.

Raspunde prin e-mail lui