aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/memory_usage_spec.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-01-04 00:38:48 +0100
committerGitHub <noreply@github.com>2023-01-04 07:38:48 +0800
commit936e191fef9865600af211c29ea4959ffbce81dd (patch)
treede6d07e200431bf5638c581b1a5bd856e0675682 /test/functional/legacy/memory_usage_spec.lua
parent5529b07316b75913188c44698aed6c0f866c5da9 (diff)
downloadrneovim-936e191fef9865600af211c29ea4959ffbce81dd.tar.gz
rneovim-936e191fef9865600af211c29ea4959ffbce81dd.tar.bz2
rneovim-936e191fef9865600af211c29ea4959ffbce81dd.zip
docs: fix typos (#21427)
Co-authored-by: Gustavo Sampaio <gbritosampaio@gmail.com> Co-authored-by: C.D. MacEachern <craig.daniel.maceachern@gmail.com> Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com> Co-authored-by: Tomas Nemec <nemi@skaut.cz>
Diffstat (limited to 'test/functional/legacy/memory_usage_spec.lua')
-rw-r--r--test/functional/legacy/memory_usage_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/legacy/memory_usage_spec.lua b/test/functional/legacy/memory_usage_spec.lua
index 8d9b28e1fc..59839157ea 100644
--- a/test/functional/legacy/memory_usage_spec.lua
+++ b/test/functional/legacy/memory_usage_spec.lua
@@ -166,8 +166,8 @@ describe('memory usage', function()
local last = monitor_memory_usage(pid)
-- The usage may be a bit less than the last value, use 80%.
-- Allow for 20% tolerance at the upper limit. That's very permissive, but
- -- otherwise the test fails sometimes. On Sourcehut CI with FreeBSD we need to
- -- be even much more permissive.
+ -- otherwise the test fails sometimes. On FreeBSD we need to be even much
+ -- more permissive.
local upper_multiplier = is_os('freebsd') and 19 or 12
local lower = before.last * 8 / 10
local upper = load_adjust((after.max + (after.last - before.last)) * upper_multiplier / 10)