Permalink
Browse files

patch 8.0.0120

Problem:    Channel test is still flaky on OS X.
Solution:   Set the drop argument to "never".
  • Loading branch information...
1 parent 21efc36 commit 5643db84c6a9f15d14492cefd52647623aa2ac7c @brammool brammool committed Dec 3, 2016
Showing with 5 additions and 0 deletions.
  1. +3 −0 src/testdir/test_channel.vim
  2. +2 −0 src/version.c
@@ -26,7 +26,10 @@ func Ch_requestHandler(handle, msg)
endfunc
func Ch_communicate(port)
+ " Avoid dropping messages, since we don't use a callback here.
+ let s:chopt.drop = 'never'
let handle = ch_open('localhost:' . a:port, s:chopt)
+ unlet s:chopt.drop
if ch_status(handle) == "fail"
call assert_false(1, "Can't open channel")
return
View
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 120,
+/**/
119,
/**/
118,

0 comments on commit 5643db8

Please sign in to comment.