comparison src/testdir/test_clientserver.vim @ 12405:6ef5e636f246 v8.0.1082

patch 8.0.1082: tests fail when run under valgrind commit https://github.com/vim/vim/commit/9d18961323a2a5c3b609c98ce0d78613c71f3532 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 9 18:11:00 2017 +0200 patch 8.0.1082: tests fail when run under valgrind Problem: Tests fail when run under valgrind. Solution: Increase waiting times.
author Christian Brabandt <cb@256bit.org>
date Sat, 09 Sep 2017 18:15:04 +0200
parents f0d050a452c5
children 27eee6528b3d
comparison
equal deleted inserted replaced
12404:8056f30dce80 12405:6ef5e636f246
33 call assert_report('Cannot run the Vim server') 33 call assert_report('Cannot run the Vim server')
34 return 34 return
35 endif 35 endif
36 36
37 " Takes a short while for the server to be active. 37 " Takes a short while for the server to be active.
38 call WaitFor('serverlist() =~ "' . name . '"') 38 " When using valgrind it takes much longer.
39 call WaitFor('serverlist() =~ "' . name . '"', 5000)
39 call assert_match(name, serverlist()) 40 call assert_match(name, serverlist())
40 41
41 call remote_foreground(name) 42 call remote_foreground(name)
42 43
43 call remote_send(name, ":let testvar = 'yes'\<CR>") 44 call remote_send(name, ":let testvar = 'yes'\<CR>")