mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -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:
@@ -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>")
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user