diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-02 11:59:10 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-02 12:00:33 -0400 |
| commit | 55c66d6c19ae46a0f6590be93a9692c2cb4f10e4 (patch) | |
| tree | a2cc5ea0621e7da82b79d235a46076503efd5ee9 /src/nvim/testdir/test_quotestar.vim | |
| parent | cb339ca0fb27976daca1909557d2862be9629d0e (diff) | |
| download | rneovim-55c66d6c19ae46a0f6590be93a9692c2cb4f10e4.tar.gz rneovim-55c66d6c19ae46a0f6590be93a9692c2cb4f10e4.tar.bz2 rneovim-55c66d6c19ae46a0f6590be93a9692c2cb4f10e4.zip | |
vim-patch:8.0.1697: various tests are still a bit flaky
Problem: Various tests are still a bit flaky.
Solution: Increase the default wait time to five seconds.
https://github.com/vim/vim/commit/769e9d21ac3e8dff43b9ef5e46cdc4523833b51e
Diffstat (limited to 'src/nvim/testdir/test_quotestar.vim')
| -rw-r--r-- | src/nvim/testdir/test_quotestar.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/testdir/test_quotestar.vim b/src/nvim/testdir/test_quotestar.vim index 3a8fdef3a3..b83fbe40e8 100644 --- a/src/nvim/testdir/test_quotestar.vim +++ b/src/nvim/testdir/test_quotestar.vim @@ -74,20 +74,20 @@ func Do_test_quotestar_for_x11() " by the server. let @* = 'no' call remote_foreground(name) - call WaitFor('remote_expr("' . name . '", "@*", "", 1) == "no"', 3000) + call WaitFor('remote_expr("' . name . '", "@*", "", 1) == "no"') " Set the * register on the server. call remote_send(name, ":let @* = 'yes'\<CR>") - call WaitFor('remote_expr("' . name . '", "@*", "", 1) == "yes"', 3000) + call WaitFor('remote_expr("' . name . '", "@*", "", 1) == "yes"') " Check that the *-register of this vim instance is changed as expected. - call WaitFor('@* == "yes"', 3000) + call WaitFor('@* == "yes"') " Handle the large selection over 262040 byte. let length = 262044 let sample = 'a' . repeat('b', length - 2) . 'c' let @* = sample - call WaitFor('remote_expr("' . name . '", "len(@*) >= ' . length . '", "", 1)', 3000) + call WaitFor('remote_expr("' . name . '", "len(@*) >= ' . length . '", "", 1)') let res = remote_expr(name, "@*", "", 2) call assert_equal(length, len(res)) " Check length to prevent a large amount of output at assertion failure. |