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)