From 80e158b5339db1b07cdedc148f58fa3e76d4e31f Mon Sep 17 00:00:00 2001 From: Akhil Narang Date: Mon, 5 Jan 2026 18:37:32 +0530 Subject: [PATCH] fix: temporarily bump RQ job memory test by 1mb (#35663) Signed-off-by: Akhil Narang --- frappe/core/doctype/rq_job/test_rq_job.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frappe/core/doctype/rq_job/test_rq_job.py b/frappe/core/doctype/rq_job/test_rq_job.py index 5bd94b4c1d..d5fa91620c 100644 --- a/frappe/core/doctype/rq_job/test_rq_job.py +++ b/frappe/core/doctype/rq_job/test_rq_job.py @@ -116,7 +116,8 @@ class TestRQJob(IntegrationTestCase): frappe.enqueue(self.BG_JOB, sleep=1, queue=q) _, stderr = execute_in_shell( - "bench worker-pool --queue short,default --burst --num-workers=4", check_exit_code=True + "bench worker-pool --queue short,default --burst --num-workers=4", + check_exit_code=True, ) self.assertIn("quitting", cstr(stderr)) @@ -178,7 +179,7 @@ class TestRQJob(IntegrationTestCase): LAST_MEASURED_USAGE += 2 # Observed higher usage on 3.14. Temporarily raising the limit - LAST_MEASURED_USAGE += 5 + LAST_MEASURED_USAGE += 6 self.assertLessEqual(rss, LAST_MEASURED_USAGE * 1.05, msg)