changeset 19003:c91a1c160d75 v8.2.0062

patch 8.2.0062: memory test is flaky on FreeBSD Commit: https://github.com/vim/vim/commit/e7538ae997b3983d0c91a886a74ebacedd752164 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 30 19:59:24 2019 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Mon, 30 Dec 2019 20:00:04 +0100
parents b2ff693b6e4b
children d7f09886937a
files src/testdir/test_memory_usage.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_memory_usage.vim
+++ b/src/testdir/test_memory_usage.vim
@@ -133,6 +133,8 @@ func Test_memory_func_capture_lvars()
 
   let vim = s:vim_new()
   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
 
   call term_sendkeys(vim.buf, ":so %\<CR>")
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    62,
+/**/
     61,
 /**/
     60,