Mercurial > vim
diff src/testdir/test_channel.vim @ 19707:8744a50560cb v8.2.0410
patch 8.2.0410: channel test fails too often on slow Mac
Commit: https://github.com/vim/vim/commit/3696839ef1165804159e28f50cb6113acc3d519d
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 19 16:22:44 2020 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 19 Mar 2020 16:30:04 +0100 |
parents | 5ec5427fcedf |
children | e73167dd8cac |
line wrap: on
line diff
--- 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