]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.1944: Netbeans test is flaky v8.2.1944
authorBram Moolenaar <Bram@vim.org>
Tue, 3 Nov 2020 10:53:29 +0000 (11:53 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 3 Nov 2020 10:53:29 +0000 (11:53 +0100)
Problem:    Netbeans test is flaky.
Solution:   Add a short delay. (Yegappan Lakshmanan, closes #7246)

src/testdir/test_netbeans.vim
src/version.c

index c4851ae1addb3e95ee8c7fb4392a4a17838b42ac..629c31af9e983bf610f88b13bf514e977a0619cc 100644 (file)
@@ -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
 
index b1125670cc338eb589879f12cf7934fc5afd5904..714d038f8e7036655ba07970edbb134a7e41613a 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1944,
 /**/
     1943,
 /**/