diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-28 21:55:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-28 21:55:48 +0200 |
commit | 13b47c37a650ab6045680a9e5513ef6ad71ee93f (patch) | |
tree | 76ab8304f7f03b613f59c82d203730b005b23ba6 /src | |
parent | d74af4227b4e961bbab6ec9aa36512464434a1ad (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.
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_popupwin.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
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, |