changeset 22792:670c69ac1bfb v8.2.1944

patch 8.2.1944: Netbeans test is flaky Commit: https://github.com/vim/vim/commit/6fd3a4ba2320c4a95f02daef5f2ac76d3105d013 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 3 11:53:29 2020 +0100 patch 8.2.1944: Netbeans test is flaky Problem: Netbeans test is flaky. Solution: Add a short delay. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/7246)
author Bram Moolenaar <Bram@vim.org>
date Tue, 03 Nov 2020 12:00:03 +0100
parents 879583321480
children 39efae87751b
files src/testdir/test_netbeans.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_netbeans.vim
+++ b/src/testdir/test_netbeans.vim
@@ -309,6 +309,7 @@ func Nb_basic(port)
   call WaitFor('len(ReadXnetbeans()) >= (g:last + 3)')
   let l = ReadXnetbeans()
   call assert_equal('send: 2:setDot!57 3/6', l[-1])
+  sleep 10m
   call assert_equal([0, 3, 7, 0], getpos('.'))
   let g:last += 3
 
@@ -318,6 +319,7 @@ func Nb_basic(port)
   call WaitFor('len(ReadXnetbeans()) >= (g:last + 3)')
   let l = ReadXnetbeans()
   call assert_equal('send: 2:setDot!57 9', l[-1])
+  sleep 10m
   call assert_equal([0, 2, 1, 0], getpos('.'))
   let g:last += 3
 
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1944,
+/**/
     1943,
 /**/
     1942,