0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.0062: memory test is flaky on FreeBSD

Problem:    Memory test is flaky on FreeBSD.
Solution:   Add a short sleep before getting the first size.
This commit is contained in:
Bram Moolenaar 2019-12-30 19:59:24 +01:00
parent 3fbcc128cb
commit e7538ae997
2 changed files with 4 additions and 0 deletions

View File

@ -133,6 +133,8 @@ func Test_memory_func_capture_lvars()
let vim = s:vim_new() let vim = s:vim_new()
call vim.start('--clean', '-c', 'set noswapfile', testfile) call vim.start('--clean', '-c', 'set noswapfile', testfile)
" Wait a bit until the process has started and sourced the script.
sleep 200m
let before = s:monitor_memory_usage(vim.pid).last let before = s:monitor_memory_usage(vim.pid).last
call term_sendkeys(vim.buf, ":so %\<CR>") call term_sendkeys(vim.buf, ":so %\<CR>")

View File

@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
62,
/**/ /**/
61, 61,
/**/ /**/