From 83aed410b6fa4e807070b0af3bd89da4d29a812b Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 18 May 2019 21:07:34 -0400 Subject: [PATCH] vim-patch:8.0.1082: tests fail when run under valgrind Problem: Tests fail when run under valgrind. Solution: Increase waiting times. https://github.com/vim/vim/commit/9d18961323a2a5c3b609c98ce0d78613c71f3532 --- src/nvim/testdir/test_clientserver.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nvim/testdir/test_clientserver.vim b/src/nvim/testdir/test_clientserver.vim index 60ef20e0b2..02840de743 100644 --- a/src/nvim/testdir/test_clientserver.vim +++ b/src/nvim/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)