0
0
mirror of https://github.com/vim/vim.git synced 2025-10-09 06:14:17 -04:00

patch 8.1.0591: channel sort test is flaky

Problem:    Channel sort test is flaky.
Solution:   Do not check if the job is running, it may have be done very fast.
This commit is contained in:
Bram Moolenaar
2018-12-14 22:42:13 +01:00
parent cd1a62d468
commit 6c8dd39df9
2 changed files with 3 additions and 1 deletions

View File

@@ -922,9 +922,9 @@ func Run_pipe_through_sort(all, use_buffer)
let options.in_bot = 4
endif
let g:job = job_start('sort', options)
call assert_equal("run", job_status(g:job))
if !a:use_buffer
call assert_equal("run", job_status(g:job))
call ch_sendraw(g:job, "ccc\naaa\nddd\nbbb\neee\n")
call ch_close_in(g:job)
endif

View File

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