The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(process_registry): pin that the availability probe argv omits OOMPolicy too
kshitijk4poor3513a3b9227f
diff --git a/tests/tools/test_process_registry.py b/tests/tools/test_process_registry.pyindex 51f86f83e0f..3ac709db9d6 100644--- a/tests/tools/test_process_registry.py+++ b/tests/tools/test_process_registry.py@@ -2368,6 +2368,12 @@ class TestSystemdCgroupIsolation:assert first is Trueassert second is Trueassert len(probe_calls) == 1, "probe must run only once (cached)"+ # The probe must not carry OOMPolicy= either: that is the argv systemd+ # rejected on scope units and cached as "unavailable" (#102486).+ probe_argv = probe_calls[0][0]+ assert not any(+ value.startswith("OOMPolicy=") for value in probe_argv if isinstance(value, str)+ ), probe_argvdef test_systemd_scope_first_probe_is_serialized(self, monkeypatch):"""Concurrent first-use callers must wait for one definitive probe.