aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-28 06:59:19 +0800
committerGitHub <noreply@github.com>2022-11-28 06:59:19 +0800
commita6f0444ab9b5d8947ff7e48718a6b3a484a096fa (patch)
treec9ccd3c3a41ad23b9263a9eb8549db35e84f12c5
parent28e6fe85a78e0c7109d823db3057568f6f1b7355 (diff)
downloadrneovim-a6f0444ab9b5d8947ff7e48718a6b3a484a096fa.tar.gz
rneovim-a6f0444ab9b5d8947ff7e48718a6b3a484a096fa.tar.bz2
rneovim-a6f0444ab9b5d8947ff7e48718a6b3a484a096fa.zip
vim-patch:9.0.0958: messages test is flaky (#21205)
Problem: Messages test is flaky. Solution: Add a short delay. https://github.com/vim/vim/commit/19cf525c20f9915ffcddda35c27608528f6af047 Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r--src/nvim/testdir/test_messages.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_messages.vim b/src/nvim/testdir/test_messages.vim
index 42a1fdcfe2..bfdebdac79 100644
--- a/src/nvim/testdir/test_messages.vim
+++ b/src/nvim/testdir/test_messages.vim
@@ -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', {})
@@ -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', {})