patch 7.4.1289
Problem: Channel test fails on MS-Windows, connect() takes too long.
Solution: Adjust the test for MS-Windows using "waittime".
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim
index e5903ae..7d82094 100644
--- a/src/testdir/test_channel.vim
+++ b/src/testdir/test_channel.vim
@@ -196,8 +196,8 @@
" 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