comparison src/testdir/test_channel.vim @ 19651:283c8bc6a8e2 v8.2.0382

patch 8.2.0382: some tests fail when run under valgrind Commit: https://github.com/vim/vim/commit/353c351bd22e4dac4c3ae9cd7731032348f248c4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 15 14:19:26 2020 +0100 patch 8.2.0382: some tests fail when run under valgrind Problem: Some tests fail when run under valgrind. Solution: Increase timeouts.
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Mar 2020 14:30:05 +0100
parents db60620b7afb
children 5ec5427fcedf
comparison
equal deleted inserted replaced
19650:1d036bf38467 19651:283c8bc6a8e2
1997 else 1997 else
1998 let cmd = 'grep foo' 1998 let cmd = 'grep foo'
1999 endif 1999 endif
2000 let g:job = job_start(cmd, {}) 2000 let g:job = job_start(cmd, {})
2001 call job_stop(g:job) 2001 call job_stop(g:job)
2002 sleep 10m 2002 sleep 50m
2003 call assert_equal(-1, job_info(g:job).exitval) 2003 call assert_equal(-1, job_info(g:job).exitval)
2004 let g:job = job_start(cmd, {}) 2004 let g:job = job_start(cmd, {})
2005 call job_stop(g:job, 'term') 2005 call job_stop(g:job, 'term')
2006 sleep 10m 2006 sleep 50m
2007 call assert_equal(-1, job_info(g:job).exitval) 2007 call assert_equal(-1, job_info(g:job).exitval)
2008 let g:job = job_start(cmd, {}) 2008 let g:job = job_start(cmd, {})
2009 call job_stop(g:job, 'kill') 2009 call job_stop(g:job, 'kill')
2010 sleep 10m 2010 sleep 50m
2011 call assert_equal(-1, job_info(g:job).exitval) 2011 call assert_equal(-1, job_info(g:job).exitval)
2012 endfunc 2012 endfunc
2013 2013
2014 func Test_issue_5485() 2014 func Test_issue_5485()
2015 let $VAR1 = 'global' 2015 let $VAR1 = 'global'