Skip to content

Commit 6bce585

Browse files
committed
patch 8.2.2601: memory usage test often fails on FreeBSD
Problem: Memory usage test often fails on FreeBSD. Solution: Increase multiplier for upper limit.
1 parent 93e1cae commit 6bce585

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/testdir/test_memory_usage.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ func Test_memory_func_capture_lvars()
147147
" The usage may be a bit less than the last value, use 80%.
148148
" Allow for 20% tolerance at the upper limit. That's very permissive, but
149149
" otherwise the test fails sometimes. On Cirrus CI with FreeBSD we need to
150-
" be even more permissive.
150+
" be even much more permissive.
151151
if has('bsd')
152-
let multiplier = 15
152+
let multiplier = 19
153153
else
154154
let multiplier = 12
155155
endif

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2601,
753755
/**/
754756
2600,
755757
/**/

0 commit comments

Comments
 (0)