aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-05-18 21:07:34 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-05-19 23:15:46 -0400
commit83aed410b6fa4e807070b0af3bd89da4d29a812b (patch)
tree8d7bdb58113e59cef0698cb626d2aab438a48ed5
parent8c842b39ba7e88fbe6e2fd562731030d5499e343 (diff)
downloadrneovim-83aed410b6fa4e807070b0af3bd89da4d29a812b.tar.gz
rneovim-83aed410b6fa4e807070b0af3bd89da4d29a812b.tar.bz2
rneovim-83aed410b6fa4e807070b0af3bd89da4d29a812b.zip
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
-rw-r--r--src/nvim/testdir/test_clientserver.vim3
1 files changed, 2 insertions, 1 deletions
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)