summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_clientserver.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-09 18:11:00 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-09 18:11:00 +0200
commit9d18961323a2a5c3b609c98ce0d78613c71f3532 (patch)
tree8a5b482815a6c29c1c89b0462c1a5d3ede626640 /src/testdir/test_clientserver.vim
parentaba680a8513124e9556956115db4df35bd4a0e56 (diff)
patch 8.0.1082: tests fail when run under valgrindv8.0.1082
Problem: Tests fail when run under valgrind. Solution: Increase waiting times.
Diffstat (limited to 'src/testdir/test_clientserver.vim')
-rw-r--r--src/testdir/test_clientserver.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_clientserver.vim b/src/testdir/test_clientserver.vim
index 0f403711d9..811af138cd 100644
--- a/src/testdir/test_clientserver.vim
+++ b/src/testdir/test_clientserver.vim
@@ -35,7 +35,8 @@ func Test_client_server()
endif
" Takes a short while for the server to be active.
- call WaitFor('serverlist() =~ "' . name . '"')
+ " When using valgrind it takes much longer.
+ call WaitFor('serverlist() =~ "' . name . '"', 5000)
call assert_match(name, serverlist())
call remote_foreground(name)