Mercurial > vim
changeset 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 | f53f46722dce |
children | b073ae1d0393 |
files | src/testdir/test_channel.vim src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
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