]> granicus.if.org Git - vim/commitdiff
patch 8.2.0410: channel test fails too often on slow Mac v8.2.0410
authorBram Moolenaar <Bram@vim.org>
Thu, 19 Mar 2020 15:22:44 +0000 (16:22 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 19 Mar 2020 15:22:44 +0000 (16:22 +0100)
Problem:    Channel test fails too often on slow Mac.
Solution:   Increase waiting time to 10 seconds.

src/testdir/test_channel.vim
src/version.c

index 2034aecfba8fb031f26837e882876a42aa8b7acb..a820be548f056355b46beb9f23808e10897132b5 100644 (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
index 8c7e5d63c6154bca72d53f4139ff45c9809be3c7..367686c7220cd92921c95f3f363922651b2abad2 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    410,
 /**/
     409,
 /**/