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:
Jan Edmund Lazo
2019-05-18 21:07:34 -04:00
parent 8c842b39ba
commit 83aed410b6

View File

@@ -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)