fix(tests): drop the RLIMIT_AS memory cap; the leak sweep is the fix
The per-process address-space cap was defense-in-depth on top of the SessionDB leak sweep (nobody sets the knob; the sweep removes the leak). On the 96-worker CI runner it was also the only PR-specific difference when tests/tools/test_image_source.py hung to the 600s SIGKILL while the same file passes in ~30s on every sibling branch: RLIMIT_AS counts virtual reservations, and image/threading libraries reserve far more address space than they touch. Keep the sweep, remove the cap and its env knob.
This commit is contained in:
@@ -35,12 +35,6 @@ Environment:
|
||||
HERMES_TEST_PATHS Override discovery roots (colon-sep; on Windows
|
||||
';' also works and drive letters are handled;
|
||||
default: 'tests')
|
||||
HERMES_PYTEST_MEM_CAP
|
||||
Per-pytest-process RLIMIT_AS cap in GiB applied by
|
||||
tests/conftest.py (Linux only; default 12). Any
|
||||
runaway in-process accumulation dies with
|
||||
MemoryError instead of eating the box. Set to 0 /
|
||||
'off' to disable, or another integer to change it.
|
||||
|
||||
Exit code: 0 if every file's pytest exited 0; 1 otherwise.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user