Files
hermes-agent/tests
liuhao1024 4f10a59f53 test(cli): cover the launchd scope in the no-gateways fleet-restart simulation
test_run_pending_restart_true_when_no_gateways patches the PID scan and
the systemd unit listings but leaves the macOS launchd restart live, so
on a machine with a real hermes launchd fleet the restart phase drains
those units, reports the fleet restart incomplete, and the assertion
fails. CI never sees this because it runs Linux.

Patch _restart_macos_launchd_gateways to a no-op (the same pattern the
file's _patch_update_deps helper already uses) so the no-gateways state
covers the launchd supervisor scope too.

Fixes #110701
2026-09-15 05:26:25 -07:00
..
…