diff options
-rw-r--r-- | test/functional/legacy/memory_usage_spec.lua | 4 |
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 08caf4449d..e2e5277acb 100644 --- a/test/functional/legacy/memory_usage_spec.lua +++ b/test/functional/legacy/memory_usage_spec.lua @@ -146,9 +146,9 @@ describe('memory usage', function() end local last = monitor_memory_usage(pid) -- The usage may be a bit less than the last value, use 80%. - -- Allow for 1% tolerance at the upper limit. + -- Allow for 3% tolerance at the upper limit. local lower = before.last * 8 / 10 - local upper = (after.max + (after.last - before.last)) * 101 / 100 + local upper = (after.max + (after.last - before.last)) * 103 / 100 check_result({before=before, after=after, last=last}, pcall(ok, lower < last.last)) check_result({before=before, after=after, last=last}, |