mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 7.4.1289
Problem: Channel test fails on MS-Windows, connect() takes too long. Solution: Adjust the test for MS-Windows using "waittime".
This commit is contained in:
@@ -196,8 +196,8 @@ func Test_connect_waittime()
|
||||
" Oops, port does exists.
|
||||
call ch_close(handle)
|
||||
else
|
||||
" Failed connection doesn't wait the full time.
|
||||
" Failed connection doesn't wait the full time on Unix.
|
||||
let elapsed = reltime(start)
|
||||
call assert_true(reltimefloat(elapsed) < 1.0)
|
||||
call assert_true(reltimefloat(elapsed) < (has('unix') ? 1.0 : 3.0))
|
||||
endif
|
||||
endfunc
|
||||
|
Reference in New Issue
Block a user