Patch 8.2.4784
Problem: Lamba test with timer is flaky.
Solution: Adjust sleep time on retry.
Files: src/testdir/test_lambda.vim
*** ../vim-8.2.4783/src/testdir/test_lambda.vim 2022-04-18 15:21:13.344896813
+0100
--- src/testdir/test_lambda.vim 2022-04-18 16:12:02.823955962 +0100
***************
*** 58,63 ****
--- 58,64 ----
func Test_lambda_vim9cmd_linebreak()
CheckFeature timers
+ let g:test_is_flaky = 1
let lines =<< trim END
vim9cmd call timer_start(10, (x) => {
# comment
***************
*** 65,71 ****
})
END
call v9.CheckScriptSuccess(lines)
! sleep 50m
call assert_equal('done', g:result)
unlet g:result
endfunc
--- 66,73 ----
})
END
call v9.CheckScriptSuccess(lines)
! " sleep longer on a retry
! exe 'sleep ' .. [20, 100, 500, 500, 500][g:run_nr] .. 'm'
call assert_equal('done', g:result)
unlet g:result
endfunc
*** ../vim-8.2.4783/src/version.c 2022-04-18 15:45:19.704436521 +0100
--- src/version.c 2022-04-18 16:13:50.115904756 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4784,
/**/
--
hundred-and-one symptoms of being an internet addict:
27. You refer to your age as 3.x.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220418151539.308D81C0796%40moolenaar.net.