Skip to content

Commit

Permalink
vim-patch:9.0.0958: messages test is flaky (#21205)
Browse files Browse the repository at this point in the history
Problem:    Messages test is flaky.
Solution:   Add a short delay.

vim/vim@19cf525

Co-authored-by: Bram Moolenaar <Bram@vim.org>
  • Loading branch information
zeertzjq and brammool committed Nov 27, 2022
1 parent 28e6fe8 commit a6f0444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nvim/testdir/test_messages.vim
Expand Up @@ -353,7 +353,7 @@ func Test_echo_verbose_system()

" display a page and go back, results in exactly the same view
call term_sendkeys(buf, ' ')
call TermWait(buf)
call TermWait(buf, 50)
call term_sendkeys(buf, 'b')
call VerifyScreenDump(buf, 'Test_verbose_system_1', {})

Expand All @@ -366,7 +366,7 @@ func Test_echo_verbose_system()
call VerifyScreenDump(buf, 'Test_verbose_system_2', {})

call term_sendkeys(buf, ' ')
call TermWait(buf)
call TermWait(buf, 50)
call term_sendkeys(buf, 'b')
call VerifyScreenDump(buf, 'Test_verbose_system_2', {})

Expand Down

0 comments on commit a6f0444

Please sign in to comment.