mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
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.
26bde6e2eb
This commit is contained in:
@@ -108,7 +108,8 @@ func Do_test_quotestar_for_x11()
|
|||||||
call remote_send(name, ":gui -f\<CR>")
|
call remote_send(name, ":gui -f\<CR>")
|
||||||
endif
|
endif
|
||||||
" Wait for the server in the GUI to be up and answering requests.
|
" 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 remote_send(name, ":let @* = 'maybe'\<CR>")
|
||||||
call WaitForAssert({-> assert_equal("maybe", remote_expr(name, "@*", "", 2))})
|
call WaitForAssert({-> assert_equal("maybe", remote_expr(name, "@*", "", 2))})
|
||||||
|
Reference in New Issue
Block a user