aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-03-26 19:29:20 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-04-13 12:00:32 -0400
commitbc84cf2585f2ae3a08e353f573d997586d6ecdf4 (patch)
tree05b37db566aa1f136b9c2f2b7b2e9e1a1e485ae9
parent22eb3c9e4933d440f3ad8f55e37e7370a69c765e (diff)
downloadrneovim-bc84cf2585f2ae3a08e353f573d997586d6ecdf4.tar.gz
rneovim-bc84cf2585f2ae3a08e353f573d997586d6ecdf4.tar.bz2
rneovim-bc84cf2585f2ae3a08e353f573d997586d6ecdf4.zip
vim-patch:8.2.0457: Test_quotestar() often fails when run under valgrind
Problem: Test_quotestar() often fails when run under valgrind. Solution: Wait longer for the GUI to start. https://github.com/vim/vim/commit/26bde6e2eb307898ab7ed42bf8e7e2ccde979e02
-rw-r--r--src/nvim/testdir/test_quotestar.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_quotestar.vim b/src/nvim/testdir/test_quotestar.vim
index ce5a9ee827..77a5153a81 100644
--- a/src/nvim/testdir/test_quotestar.vim
+++ b/src/nvim/testdir/test_quotestar.vim
@@ -108,7 +108,8 @@ func Do_test_quotestar_for_x11()
call remote_send(name, ":gui -f\<CR>")
endif
" Wait for the server in the GUI to be up and answering requests.
- call WaitForAssert({-> assert_match("1", remote_expr(name, "has('gui_running')", "", 1))})
+ " On some systems and with valgrind this can be very slow.
+ call WaitForAssert({-> assert_match("1", remote_expr(name, "has('gui_running')", "", 1))}, 10000)
call remote_send(name, ":let @* = 'maybe'\<CR>")
call WaitForAssert({-> assert_equal("maybe", remote_expr(name, "@*", "", 2))})