mirror of
https://github.com/neovim/neovim.git
synced 2025-10-14 05:46:12 +00:00
vim-patch:9.0.0958: messages test is flaky (#21205)
Problem: Messages test is flaky.
Solution: Add a short delay.
19cf525c20
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -353,7 +353,7 @@ func Test_echo_verbose_system()
|
|||||||
|
|
||||||
" display a page and go back, results in exactly the same view
|
" display a page and go back, results in exactly the same view
|
||||||
call term_sendkeys(buf, ' ')
|
call term_sendkeys(buf, ' ')
|
||||||
call TermWait(buf)
|
call TermWait(buf, 50)
|
||||||
call term_sendkeys(buf, 'b')
|
call term_sendkeys(buf, 'b')
|
||||||
call VerifyScreenDump(buf, 'Test_verbose_system_1', {})
|
call VerifyScreenDump(buf, 'Test_verbose_system_1', {})
|
||||||
|
|
||||||
@@ -366,7 +366,7 @@ func Test_echo_verbose_system()
|
|||||||
call VerifyScreenDump(buf, 'Test_verbose_system_2', {})
|
call VerifyScreenDump(buf, 'Test_verbose_system_2', {})
|
||||||
|
|
||||||
call term_sendkeys(buf, ' ')
|
call term_sendkeys(buf, ' ')
|
||||||
call TermWait(buf)
|
call TermWait(buf, 50)
|
||||||
call term_sendkeys(buf, 'b')
|
call term_sendkeys(buf, 'b')
|
||||||
call VerifyScreenDump(buf, 'Test_verbose_system_2', {})
|
call VerifyScreenDump(buf, 'Test_verbose_system_2', {})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user