diff src/testdir/shared.vim @ 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 96ff6c230a66
children 72c8fbb9e242
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