You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add SIGTERM regression test for Hybrid fork interrupt handling
SIGINT and SIGTERM are intentionally equivalent: both are trapped in the
fork and converted into Interrupt (see Forked::Child.fork), so a single
signal of either kind must drain the inner threads and exit rather than
respawning them (issue #58).
Refactors the existing single-SIGINT test into a shared helper and
exercises both :INT and :TERM, locking in the documented equivalence.
it"exits the fork on a single interrupt even when the inner container has restart: true"do
66
+
#
67
+
# SIGINT and SIGTERM are intentionally equivalent: both are trapped in the fork and converted into `Interrupt` (see `Forked::Child.fork`), so a single signal of either kind must drain the inner threads and exit, rather than respawning them forever (the inner container has `restart: true`, the default for `async-service` managed services).
0 commit comments