From: Bram Moolenaar Date: Thu, 19 Mar 2020 15:22:44 +0000 (+0100) Subject: patch 8.2.0410: channel test fails too often on slow Mac X-Git-Tag: v8.2.0410 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3696839ef1165804159e28f50cb6113acc3d519d;p=vim 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. --- diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim index 2034aecfb..a820be548 100644 --- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -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 diff --git a/src/version.c b/src/version.c index 8c7e5d63c..367686c72 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 410, /**/ 409, /**/