fix: temporarily bump RQ job memory test by 1mb (#35663)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
b5785972d1
commit
80e158b533
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue