From 13b47c37a650ab6045680a9e5513ef6ad71ee93f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 28 Jun 2019 21:55:48 +0200 Subject: patch 8.1.1604: popup window scroll test is flaky Problem: Popup window scroll test is flaky. Solution: Add a delay between scroll events. --- src/testdir/test_popupwin.vim | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim index e80621b37..1cb0734ec 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()\") + " wait a bit, otherwise it fails sometimes (double click recognized?) + sleep 100m call term_sendkeys(buf, ":call ScrollDown()\") call VerifyScreenDump(buf, 'Test_popupwin_scroll_7', {}) diff --git a/src/version.c b/src/version.c index 26a9bf583..9c29b46d8 100644 --- a/src/version.c +++ b/src/version.c @@ -777,6 +777,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1604, /**/ 1603, /**/ -- cgit v1.2.1