diff src/testdir/test_channel.vim @ 18834:aaea9672a96d v8.1.2404

patch 8.1.2404: channel test fails under valgrind Commit: https://github.com/vim/vim/commit/08d2e795e72837a015e69894fb8ebd178e4014c9 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 7 17:10:25 2019 +0100 patch 8.1.2404: channel test fails under valgrind Problem: Channel test fails under valgrind. Solution: Sleep a bit longer.
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 Dec 2019 17:15:05 +0100
parents 068337e86133
children ab97d1aea4aa
line wrap: on
line diff
--- a/src/testdir/test_channel.vim
+++ b/src/testdir/test_channel.vim
@@ -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)