Permalink
Browse files

patch 8.0.0122

Problem:    Channel test is still flaky on OS X.
Solution:   Add a short sleep.
  • Loading branch information...
1 parent a2477fd commit 3fad98e8af247af8ebc49730646282a71ccdd47a @brammool brammool committed Dec 3, 2016
Showing with 5 additions and 0 deletions.
  1. +3 −0 src/testdir/test_channel.py
  2. +2 −0 src/version.c
@@ -126,6 +126,9 @@ def handle(self):
print("sending: {0}".format(cmd))
self.request.sendall(cmd.encode('utf-8'))
response = "ok"
+ # Need to wait for Vim to give up, otherwise it
+ # sometimes fails on OS X.
+ time.sleep(0.2)
elif decoded[1] == 'malformed2':
cmd = '"unterminated string'
print("sending: {0}".format(cmd))
View
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 122,
+/**/
121,
/**/
120,

0 comments on commit 3fad98e

Please sign in to comment.