comparison src/testdir/test_messages.vim @ 31249:1d3caf811eb5 v9.0.0958

patch 9.0.0958: messages test is flaky Commit: https://github.com/vim/vim/commit/19cf525c20f9915ffcddda35c27608528f6af047 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 27 14:39:31 2022 +0000 patch 9.0.0958: messages test is flaky Problem: Messages test is flaky. Solution: Add a short delay.
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Nov 2022 15:45:04 +0100
parents d914a3812d5b
children 831290c20fb7
comparison
equal deleted inserted replaced
31248:44fac9d1b2ff 31249:1d3caf811eb5
347 " Note that the screendump is filtered to remove the name of the temp file 347 " Note that the screendump is filtered to remove the name of the temp file
348 call VerifyScreenDump(buf, 'Test_verbose_system_1', {}) 348 call VerifyScreenDump(buf, 'Test_verbose_system_1', {})
349 349
350 " display a page and go back, results in exactly the same view 350 " display a page and go back, results in exactly the same view
351 call term_sendkeys(buf, ' ') 351 call term_sendkeys(buf, ' ')
352 call TermWait(buf) 352 call TermWait(buf, 50)
353 call term_sendkeys(buf, 'b') 353 call term_sendkeys(buf, 'b')
354 call VerifyScreenDump(buf, 'Test_verbose_system_1', {}) 354 call VerifyScreenDump(buf, 'Test_verbose_system_1', {})
355 355
356 " do the same with 'cmdheight' set to 2 356 " do the same with 'cmdheight' set to 2
357 call term_sendkeys(buf, 'q') 357 call term_sendkeys(buf, 'q')
360 call TermWait(buf) 360 call TermWait(buf)
361 call term_sendkeys(buf, ":4 verbose echo system('seq 20')\<CR>") 361 call term_sendkeys(buf, ":4 verbose echo system('seq 20')\<CR>")
362 call VerifyScreenDump(buf, 'Test_verbose_system_2', {}) 362 call VerifyScreenDump(buf, 'Test_verbose_system_2', {})
363 363
364 call term_sendkeys(buf, ' ') 364 call term_sendkeys(buf, ' ')
365 call TermWait(buf) 365 call TermWait(buf, 50)
366 call term_sendkeys(buf, 'b') 366 call term_sendkeys(buf, 'b')
367 call VerifyScreenDump(buf, 'Test_verbose_system_2', {}) 367 call VerifyScreenDump(buf, 'Test_verbose_system_2', {})
368 368
369 call term_sendkeys(buf, 'q') 369 call term_sendkeys(buf, 'q')
370 call TermWait(buf) 370 call TermWait(buf)