Skip to content

Commit 26bde6e

Browse files
committed
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.
1 parent 72749f0 commit 26bde6e

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/testdir/test_quotestar.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ func Do_test_quotestar_for_x11()
107107
call remote_send(name, ":gui -f\<CR>")
108108
endif
109109
" Wait for the server in the GUI to be up and answering requests.
110-
call WaitForAssert({-> assert_match("1", remote_expr(name, "has('gui_running')", "", 1))})
110+
" On some systems and with valgrind this can be very slow.
111+
call WaitForAssert({-> assert_match("1", remote_expr(name, "has('gui_running')", "", 1))}, 10000)
111112

112113
call remote_send(name, ":let @* = 'maybe'\<CR>")
113114
call WaitForAssert({-> assert_equal("maybe", remote_expr(name, "@*", "", 2))})

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,8 @@ static char *(features[]) =
738738

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
457,
741743
/**/
742744
456,
743745
/**/

0 commit comments

Comments
 (0)