Skip to content

Commit 25d5700

Browse files
committed
patch 8.2.0534: client-server test fails under valgrind
Problem: Client-server test fails under valgrind. Solution: Use WaitForAssert().
1 parent 6a2c5a7 commit 25d5700

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/test_clientserver.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func Test_client_server()
129129

130130
" Edit files in separate tab pages
131131
call system(cmd .. ' --remote-tab Xfile1 Xfile2 Xfile3')
132-
call assert_equal('3', remote_expr(name, 'tabpagenr("$")'))
132+
call WaitForAssert({-> assert_equal('3', remote_expr(name, 'tabpagenr("$")'))})
133133
call assert_equal('Xfile2', remote_expr(name, 'bufname(tabpagebuflist(2)[0])'))
134134
eval name->remote_send(":%bw!\<CR>")
135135

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+
534,
741743
/**/
742744
533,
743745
/**/

0 commit comments

Comments
 (0)