summaryrefslogtreecommitdiff
path: root/src/testdir/test_channel.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_channel.vim')
-rw-r--r--src/testdir/test_channel.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim
index e5903ae42..7d82094f2 100644
--- a/src/testdir/test_channel.vim
+++ b/src/testdir/test_channel.vim
@@ -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