test: update constant for bundle and memory usage

Over time code size has grown without any major regressions, so just
accomodating them here.
This commit is contained in:
Ankush Menat 2025-04-11 13:40:42 +05:30
parent 7421ffa79a
commit a6edcface5
2 changed files with 2 additions and 2 deletions

View file

@ -901,7 +901,7 @@ class TestAddNewUser(BaseTestCommands):
class TestBenchBuild(IntegrationTestCase):
def test_build_assets_size_check(self):
CURRENT_SIZE = 3.3 # MB
CURRENT_SIZE = 3.4 # MB
JS_ASSET_THRESHOLD = 0.01
hooks = frappe.get_hooks()

View file

@ -175,7 +175,7 @@ class TestRQJob(IntegrationTestCase):
# If this starts failing analyze memory usage using memray or some equivalent tool to find
# offending imports/function calls.
# Refer this PR: https://github.com/frappe/frappe/pull/21467
LAST_MEASURED_USAGE = 41
LAST_MEASURED_USAGE = 42
if frappe.conf.use_mysqlclient:
# TEMP: Add extra allowance for running two connectors, this should be rolled back before v16
LAST_MEASURED_USAGE += 2