summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-28 21:55:48 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-28 21:55:48 +0200
commit13b47c37a650ab6045680a9e5513ef6ad71ee93f (patch)
tree76ab8304f7f03b613f59c82d203730b005b23ba6
parentd74af4227b4e961bbab6ec9aa36512464434a1ad (diff)
patch 8.1.1604: popup window scroll test is flakyv8.1.1604
Problem: Popup window scroll test is flaky. Solution: Add a delay between scroll events.
-rw-r--r--src/testdir/test_popupwin.vim2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim
index e80621b37f..1cb0734ec9 100644
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -1459,6 +1459,8 @@ func Test_popup_scrollbar()
call VerifyScreenDump(buf, 'Test_popupwin_scroll_6', {})
call term_sendkeys(buf, ":call ScrollDown()\<CR>")
+ " wait a bit, otherwise it fails sometimes (double click recognized?)
+ sleep 100m
call term_sendkeys(buf, ":call ScrollDown()\<CR>")
call VerifyScreenDump(buf, 'Test_popupwin_scroll_7', {})
diff --git a/src/version.c b/src/version.c
index 26a9bf583d..9c29b46d8e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1604,
+/**/
1603,
/**/
1602,