From ac42afd10b96424b89762871905e3e785cdfba3d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 12 Mar 2016 13:48:49 +0100 Subject: patch 7.4.1540 Problem: Channel test is a bit flaky. Solution: Increase expected wait time. --- src/testdir/test_channel.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/testdir/test_channel.vim') diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim index 5f2b97f70..a2d41252c 100644 --- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -442,10 +442,11 @@ func Test_connect_waittime() " Oops, port does exists. call ch_close(handle) else - " Failed connection should wait about 500 msec. + " Failed connection should wait about 500 msec. Can be longer if the + " computer is busy with other things. let elapsed = reltime(start) call assert_true(reltimefloat(elapsed) > 0.3) - call assert_true(reltimefloat(elapsed) < 1.0) + call assert_true(reltimefloat(elapsed) < 1.5) endif catch if v:exception !~ 'Connection reset by peer' -- cgit v1.2.3