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

patch 8.1.2404: channel test fails under valgrind

Problem:    Channel test fails under valgrind.
Solution:   Sleep a bit longer.
This commit is contained in:
Bram Moolenaar 2019-12-07 17:10:25 +01:00
parent 3c47e8384d
commit 08d2e795e7
2 changed files with 4 additions and 1 deletions

View File

@ -1860,7 +1860,8 @@ func Test_job_exitval_and_termsig()
" Terminate job by signal
let cmd = ['sleep', '10']
let job = job_start(cmd)
sleep 10m
" 10m usually works but 50m is needed when running Valgrind
sleep 50m
call job_stop(job)
call WaitForAssert({-> assert_equal("dead", job_status(job))})
let info = job_info(job)

View File

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