mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
vim-patch:8.0.1082: tests fail when run under valgrind
Problem: Tests fail when run under valgrind.
Solution: Increase waiting times.
9d18961323
This commit is contained in:
@@ -35,7 +35,8 @@ func Test_client_server()
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Takes a short while for the server to be active.
|
" 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 assert_match(name, serverlist())
|
||||||
|
|
||||||
call remote_foreground(name)
|
call remote_foreground(name)
|
||||||
|
Reference in New Issue
Block a user