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:
Jan Edmund Lazo
2026-04-12 21:30:33 -04:00
committed by GitHub
parent 34288b3eec
commit bbd880ca2e

View File

@@ -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