]> granicus.if.org Git - vim/commitdiff
patch 8.0.0122 v8.0.0122
authorBram Moolenaar <Bram@vim.org>
Sat, 3 Dec 2016 14:23:40 +0000 (15:23 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 3 Dec 2016 14:23:40 +0000 (15:23 +0100)
Problem:    Channel test is still flaky on OS X.
Solution:   Add a short sleep.

src/testdir/test_channel.py
src/version.c

index 07a22418a8db8f645025c0dd72300a887cba27b1..6668752c4266ce05351ad94294bc0a288bc9e697 100644 (file)
@@ -126,6 +126,9 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler):
                         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))
index 7089a83a962d916281a56ec230f539c3445d5349..06986069d0847d4bfbf23b48350ba0ac2a8f4ce6 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    122,
 /**/
     121,
 /**/