diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-27 14:39:31 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-27 14:39:31 +0000 |
commit | 19cf525c20f9915ffcddda35c27608528f6af047 (patch) | |
tree | edb19876804c169ad8b6ea7edf7501556832bf05 /src | |
parent | 64fabf3802b8d38157c6b89010b9bea7766b3841 (diff) |
patch 9.0.0958: messages test is flakyv9.0.0958
Problem: Messages test is flaky.
Solution: Add a short delay.
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/dumps/Test_verbose_system_1.vim | 4 | ||||
-rw-r--r-- | src/testdir/dumps/Test_verbose_system_2.vim | 4 | ||||
-rw-r--r-- | src/testdir/test_messages.vim | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
4 files changed, 10 insertions, 4 deletions
diff --git a/src/testdir/dumps/Test_verbose_system_1.vim b/src/testdir/dumps/Test_verbose_system_1.vim index 816a55ae1b..65e9c8a378 100644 --- a/src/testdir/dumps/Test_verbose_system_1.vim +++ b/src/testdir/dumps/Test_verbose_system_1.vim @@ -1,3 +1,5 @@ " Filter that removes the ever changing temp directory name from the screendump " that shows the system() command executed. -1s+|t|m|p|/|.|.|.*| |+|t|m|p|/|x|x|x|x|x|x|x|/|1| |+ +" This should be on the first line, but if it isn't there ignore the error, +" the screendump will then show the problem. +1s+|t|m|p|/|.|.|.*| |+|t|m|p|/|x|x|x|x|x|x|x|/|1| |+e diff --git a/src/testdir/dumps/Test_verbose_system_2.vim b/src/testdir/dumps/Test_verbose_system_2.vim index 816a55ae1b..65e9c8a378 100644 --- a/src/testdir/dumps/Test_verbose_system_2.vim +++ b/src/testdir/dumps/Test_verbose_system_2.vim @@ -1,3 +1,5 @@ " Filter that removes the ever changing temp directory name from the screendump " that shows the system() command executed. -1s+|t|m|p|/|.|.|.*| |+|t|m|p|/|x|x|x|x|x|x|x|/|1| |+ +" This should be on the first line, but if it isn't there ignore the error, +" the screendump will then show the problem. +1s+|t|m|p|/|.|.|.*| |+|t|m|p|/|x|x|x|x|x|x|x|/|1| |+e diff --git a/src/testdir/test_messages.vim b/src/testdir/test_messages.vim index ab33caad52..ff705fe85f 100644 --- a/src/testdir/test_messages.vim +++ b/src/testdir/test_messages.vim @@ -349,7 +349,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', {}) @@ -362,7 +362,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', {}) diff --git a/src/version.c b/src/version.c index 5d6a2a42d3..115c5991ac 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 958, +/**/ 957, /**/ 956, |