# HG changeset patch # User Bram Moolenaar # Date 1561752006 -7200 # Node ID 175941dcc96b1b0ceba09be680d693d9590d4588 # Parent 755469df71bc0b926e7dadd103407c527cd5504a patch 8.1.1604: popup window scroll test is flaky commit https://github.com/vim/vim/commit/13b47c37a650ab6045680a9e5513ef6ad71ee93f Author: Bram Moolenaar Date: Fri Jun 28 21:55:48 2019 +0200 patch 8.1.1604: popup window scroll test is flaky Problem: Popup window scroll test is flaky. Solution: Add a delay between scroll events. diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim --- 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 --- 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,