changeset 30033:17c46a3d0ef5 v9.0.0354

patch 9.0.0354: MS-Windows: starting a python server for test sometimes fails Commit: https://github.com/vim/vim/commit/a906e8e1abf0a4c9a058ec5ee8a4c321a008cd41 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 1 18:42:32 2022 +0100 patch 9.0.0354: MS-Windows: starting a python server for test sometimes fails Problem: MS-Windows: starting a python server for test sometimes fails. Solution: Increase the waiting time for the port.
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Sep 2022 19:45:03 +0200
parents c378d8af99b9
children 629977ec7f62
files src/testdir/shared.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/shared.vim
+++ b/src/testdir/shared.vim
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -708,6 +708,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    354,
+/**/
     353,
 /**/
     352,