From a6f0444ab9b5d8947ff7e48718a6b3a484a096fa Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 28 Nov 2022 06:59:19 +0800 Subject: [PATCH] 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 --- src/nvim/testdir/test_messages.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nvim/testdir/test_messages.vim b/src/nvim/testdir/test_messages.vim index 42a1fdcfe25854..bfdebdac79a6e3 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', {})