changeset 32112:a7bb18247994 v9.0.1387

patch 9.0.1387: scrollbar test sporadically fails Commit: https://github.com/vim/vim/commit/cf3c1ca276aa8f9fada7b7cd0197bbb0f91e0950 Author: Christian Brabandt <cb@256bit.org> Date: Mon Mar 6 15:29:29 2023 +0000 patch 9.0.1387: scrollbar test sporadically fails Problem: Scrollbar test sporadically fails. Solution: Mark the scrollbar test as flaky. (Christian Brabandt, closes #12113)
author Bram Moolenaar <Bram@vim.org>
date Mon, 06 Mar 2023 16:30:04 +0100
parents fac01409848f
children 6a007f44dd2e
files src/testdir/test_gui.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_gui.vim
+++ b/src/testdir/test_gui.vim
@@ -718,8 +718,11 @@ func Test_set_guioptions()
 endfunc
 
 func Test_scrollbars()
+  " this test sometimes fails on CI
+  let g:test_is_flaky = 1
+
+  " buffer with 200 lines
   new
-  " buffer with 200 lines
   call setline(1, repeat(['one', 'two'], 100))
   set guioptions+=rlb
 
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1387,
+/**/
     1386,
 /**/
     1385,