mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.2.1944: Netbeans test is flaky
Problem: Netbeans test is flaky. Solution: Add a short delay. (Yegappan Lakshmanan, closes #7246)
This commit is contained in:
@@ -309,6 +309,7 @@ func Nb_basic(port)
|
|||||||
call WaitFor('len(ReadXnetbeans()) >= (g:last + 3)')
|
call WaitFor('len(ReadXnetbeans()) >= (g:last + 3)')
|
||||||
let l = ReadXnetbeans()
|
let l = ReadXnetbeans()
|
||||||
call assert_equal('send: 2:setDot!57 3/6', l[-1])
|
call assert_equal('send: 2:setDot!57 3/6', l[-1])
|
||||||
|
sleep 10m
|
||||||
call assert_equal([0, 3, 7, 0], getpos('.'))
|
call assert_equal([0, 3, 7, 0], getpos('.'))
|
||||||
let g:last += 3
|
let g:last += 3
|
||||||
|
|
||||||
@@ -318,6 +319,7 @@ func Nb_basic(port)
|
|||||||
call WaitFor('len(ReadXnetbeans()) >= (g:last + 3)')
|
call WaitFor('len(ReadXnetbeans()) >= (g:last + 3)')
|
||||||
let l = ReadXnetbeans()
|
let l = ReadXnetbeans()
|
||||||
call assert_equal('send: 2:setDot!57 9', l[-1])
|
call assert_equal('send: 2:setDot!57 9', l[-1])
|
||||||
|
sleep 10m
|
||||||
call assert_equal([0, 2, 1, 0], getpos('.'))
|
call assert_equal([0, 2, 1, 0], getpos('.'))
|
||||||
let g:last += 3
|
let g:last += 3
|
||||||
|
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1944,
|
||||||
/**/
|
/**/
|
||||||
1943,
|
1943,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user