Skip to content

The agent that grows with you

test(gateway): the unserve runner stub carries the reservation our release step shrinks

teknium15fdb477bd968
diff --git a/tests/gateway/test_profile_identity_purge.py b/tests/gateway/test_profile_identity_purge.py
index fff1e296deb..8f2c76b0917 100644
--- a/tests/gateway/test_profile_identity_purge.py
+++ b/tests/gateway/test_profile_identity_purge.py
@@ -60,6 +60,8 @@ def _runner_stub(store):
_served_profile_signatures={},
_agent_cache={},
_evict_cached_agent=lambda key: None,
+ # unserve shrinks the boot reservation; an unreserved stub has nothing to release
+ config=SimpleNamespace(_runtime_profile_homes=()),
)