diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-08-16 04:11:03 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-08-16 10:11:03 +0200 |
commit | 66528f24753a9370d4c13dce4b3954d7f88aa826 (patch) | |
tree | 1b0009d296686cc9400e05396188f63d9e302e67 /src | |
parent | 812ed5372462cb1bd892acb8d17922b1fa3d7e7b (diff) | |
download | rneovim-66528f24753a9370d4c13dce4b3954d7f88aa826.tar.gz rneovim-66528f24753a9370d4c13dce4b3954d7f88aa826.tar.bz2 rneovim-66528f24753a9370d4c13dce4b3954d7f88aa826.zip |
vim-patch:8.1.1852: timers test is flaky #10788
Problem: Timers test is flaky.
Solution: Accept a larger count. Add test to list of flaky tests.
https://github.com/vim/vim/commit/7e6feb9eeb095ec424430ff4332c77f70372ce62
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/runtest.vim | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_timers.vim | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/testdir/runtest.vim b/src/nvim/testdir/runtest.vim index 5c62538b7d..4ddb15c9de 100644 --- a/src/nvim/testdir/runtest.vim +++ b/src/nvim/testdir/runtest.vim @@ -286,6 +286,7 @@ let s:flaky_tests = [ \ 'Test_quoteplus()', \ 'Test_quotestar()', \ 'Test_reltime()', + \ 'Test_repeat_many()', \ 'Test_repeat_three()', \ 'Test_terminal_composing_unicode()', \ 'Test_terminal_redir_file()', diff --git a/src/nvim/testdir/test_timers.vim b/src/nvim/testdir/test_timers.vim index 9384989a35..24c735865c 100644 --- a/src/nvim/testdir/test_timers.vim +++ b/src/nvim/testdir/test_timers.vim @@ -48,7 +48,7 @@ func Test_repeat_many() endif sleep 200m call timer_stop(timer) - call assert_inrange((has('mac') ? 1 : 2), LoadAdjust(4), g:val) + call assert_inrange((has('mac') ? 1 : 2), LoadAdjust(5), g:val) endfunc func Test_with_partial_callback() |