# HG changeset patch # User Bram Moolenaar # Date 1544823906 -3600 # Node ID d2ac3f2b44ba2b3018b0044a6eaa677a2b35fe4e # Parent 660da2678c4e10e9b71521bf46f49b4f00a82a4c patch 8.1.0591: channel sort test is flaky commit https://github.com/vim/vim/commit/6c8dd39df938c7502a740f59825feeaa5736b245 Author: Bram Moolenaar Date: Fri Dec 14 22:42:13 2018 +0100 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. diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim --- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -922,9 +922,9 @@ func Run_pipe_through_sort(all, use_buff 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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -800,6 +800,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 591, +/**/ 590, /**/ 589,