From 08d2e795e72837a015e69894fb8ebd178e4014c9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 7 Dec 2019 17:10:25 +0100 Subject: patch 8.1.2404: channel test fails under valgrind Problem: Channel test fails under valgrind. Solution: Sleep a bit longer. --- src/testdir/test_channel.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/testdir/test_channel.vim') diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim index 5634b98c9f..17cdb7cac0 100644 --- 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) -- cgit v1.2.3