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:
zeertzjq
2022-11-28 06:59:19 +08:00
committed by GitHub
parent 28e6fe85a7
commit a6f0444ab9

View File

@@ -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', {})