mirror of
https://github.com/neovim/neovim.git
synced 2026-06-15 16:23:48 +00:00
vim-patch:9.0.0354: MS-Windows: starting a python server for test sometimes fails (#38998)
Problem: MS-Windows: starting a python server for test sometimes fails.
Solution: Increase the waiting time for the port.
a906e8e1ab
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -82,8 +82,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
|
||||
|
||||
Reference in New Issue
Block a user