patch 8.2.0410: channel test fails too often on slow Mac
Problem: Channel test fails too often on slow Mac. Solution: Increase waiting time to 10 seconds.
This commit is contained in:
@ -1160,7 +1160,8 @@ func Test_out_cb()
|
|||||||
" Receive a json object split in pieces
|
" Receive a json object split in pieces
|
||||||
let g:Ch_outobj = ''
|
let g:Ch_outobj = ''
|
||||||
call ch_sendraw(job, "echosplit [0, {\"one\": 1,| \"tw|o\": 2, \"three\": 3|}]\n")
|
call ch_sendraw(job, "echosplit [0, {\"one\": 1,| \"tw|o\": 2, \"three\": 3|}]\n")
|
||||||
call WaitForAssert({-> assert_equal({'one': 1, 'two': 2, 'three': 3}, g:Ch_outobj)})
|
" For unknown reason this can be very slow on Mac.
|
||||||
|
call WaitForAssert({-> assert_equal({'one': 1, 'two': 2, 'three': 3}, g:Ch_outobj)}, 10000)
|
||||||
finally
|
finally
|
||||||
call job_stop(job)
|
call job_stop(job)
|
||||||
endtry
|
endtry
|
||||||
|
|||||||
@ -738,6 +738,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 */
|
||||||
|
/**/
|
||||||
|
410,
|
||||||
/**/
|
/**/
|
||||||
409,
|
409,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user