Permalink
Browse files

patch 7.4.2316

Problem:    Channel sort test is flaky.
Solution:   Add a check the output has been read.
  • Loading branch information...
1 parent 87bc3f7 commit f7f3e32fcc4984d87f26337316379c2e2d90f7f1 @brammool brammool committed Sep 3, 2016
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/testdir/test_channel.vim
  2. +2 −0 src/version.c
@@ -831,6 +831,7 @@ func Run_pipe_through_sort(all, use_buffer)
call assert_equal("dead", job_status(g:job))
sp sortout
+ call WaitFor('line("$") > 3')
call assert_equal('Reading from channel output...', getline(1))
if a:all
call assert_equal(['aaa', 'bbb', 'ccc', 'ddd', 'eee'], getline(2, 6))
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2316,
+/**/
2315,
/**/
2314,

0 comments on commit f7f3e32

Please sign in to comment.