]> granicus.if.org Git - vim/commitdiff
patch 9.0.0354: MS-Windows: starting a python server for test sometimes fails v9.0.0354
authorBram Moolenaar <Bram@vim.org>
Thu, 1 Sep 2022 17:42:32 +0000 (18:42 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 1 Sep 2022 17:42:32 +0000 (18:42 +0100)
Problem:    MS-Windows: starting a python server for test sometimes fails.
Solution:   Increase the waiting time for the port.

src/testdir/shared.vim
src/version.c

index bb42678acca7297544f4579d85ca524ed45aa75e..0f0ffe878a7bc1c6788be959bfab72801214461e 100644 (file)
@@ -62,8 +62,8 @@ endfunc
 " Read the port number from the Xportnr file.
 func GetPort()
   let l = []
-  " with 200 it sometimes failed
-  for i in range(400)
+  " with 200 it sometimes failed, with 400 is rarily failed
+  for i in range(600)
     try
       let l = readfile("Xportnr")
     catch
index 7d046d030039885df907f4750fa6a13c7fdf41a4..2009980dc3a36796e0884c7ed0234bc1eb184c3e 100644 (file)
@@ -707,6 +707,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    354,
 /**/
     353,
 /**/