Mercurial > vim
comparison src/testdir/test_channel.vim @ 8130:3462f9cfedf8 v7.4.1359
commit https://github.com/vim/vim/commit/1f6ef66254c1e25ef1c7972aa9a0ba119ebc17e4
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 19 22:59:44 2016 +0100
patch 7.4.1359
Problem: Channel test ch_sendexpr() times out.
Solution: Increase the timeout
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 19 Feb 2016 23:00:06 +0100 |
parents | 310dd635e8c9 |
children | f96536c291d8 |
comparison
equal
deleted
inserted
replaced
8129:6b08fa169bd6 | 8130:3462f9cfedf8 |
---|---|
144 endif | 144 endif |
145 call assert_equal('got it', s:responseMsg) | 145 call assert_equal('got it', s:responseMsg) |
146 | 146 |
147 " check setting options (without testing the effect) | 147 " check setting options (without testing the effect) |
148 call ch_setoptions(handle, {'callback': 's:NotUsed'}) | 148 call ch_setoptions(handle, {'callback': 's:NotUsed'}) |
149 call ch_setoptions(handle, {'timeout': 111}) | 149 call ch_setoptions(handle, {'timeout': 1111}) |
150 call assert_fails("call ch_setoptions(handle, {'waittime': 111})", "E475") | 150 call assert_fails("call ch_setoptions(handle, {'waittime': 111})", "E475") |
151 call assert_fails("call ch_setoptions(handle, {'mode': 'json'})", "E475") | 151 call assert_fails("call ch_setoptions(handle, {'mode': 'json'})", "E475") |
152 | 152 |
153 " Send an eval request that works. | 153 " Send an eval request that works. |
154 call assert_equal('ok', ch_sendexpr(handle, 'eval-works')) | 154 call assert_equal('ok', ch_sendexpr(handle, 'eval-works')) |