comparison 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
comparison
equal deleted inserted replaced
30032:c378d8af99b9 30033:17c46a3d0ef5
60 endfunc 60 endfunc
61 61
62 " Read the port number from the Xportnr file. 62 " Read the port number from the Xportnr file.
63 func GetPort() 63 func GetPort()
64 let l = [] 64 let l = []
65 " with 200 it sometimes failed 65 " with 200 it sometimes failed, with 400 is rarily failed
66 for i in range(400) 66 for i in range(600)
67 try 67 try
68 let l = readfile("Xportnr") 68 let l = readfile("Xportnr")
69 catch 69 catch
70 endtry 70 endtry
71 if len(l) >= 1 71 if len(l) >= 1