0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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:
Bram Moolenaar 2020-03-19 16:22:44 +01:00
parent b68df220c5
commit 3696839ef1
2 changed files with 4 additions and 1 deletions

View File

@ -1160,7 +1160,8 @@ func Test_out_cb()
" Receive a json object split in pieces
let g:Ch_outobj = ''
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
call job_stop(job)
endtry

View File

@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
410,
/**/
409,
/**/