feat(perception): preserve resident runtime across recoverable input gaps
This commit is contained in:
@@ -229,7 +229,12 @@ def test_bridge_initialization_failure_releases_unstarted_resources(monkeypatch,
|
||||
monkeypatch.setattr(bridge.socket, "socketpair", sockets)
|
||||
# Only constructor ownership is under test, without a live lease/thread.
|
||||
monkeypatch.setattr("k1link.perception.streaming_ingress.wire.binding", lambda start: {})
|
||||
runtime = SimpleNamespace(mailbox=mailbox, start=None, track_thread=register)
|
||||
runtime = SimpleNamespace(
|
||||
mailbox=mailbox,
|
||||
start=None,
|
||||
track_thread=register,
|
||||
register_ingress=lambda thread, epoch: register(thread),
|
||||
)
|
||||
source = SimpleNamespace(source_zero=0, wall_zero=0, run=lambda sock: None)
|
||||
try:
|
||||
with pytest.raises(ValueError, match="injected"):
|
||||
|
||||
Reference in New Issue
Block a user