From 44d676aeded4a52ad075389b9bf47f87130d5d16 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Tue, 16 Jun 2026 17:22:46 -0400 Subject: [PATCH] test(server): restore entireProcessTree kill assertion in WorkerProcessLauncherTests (Task 9 review) --- .../Gateway/Workers/WorkerProcessLauncherTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ZB.MOM.WW.MxGateway.Tests/Gateway/Workers/WorkerProcessLauncherTests.cs b/src/ZB.MOM.WW.MxGateway.Tests/Gateway/Workers/WorkerProcessLauncherTests.cs index adeacf1..4c1c4b2 100644 --- a/src/ZB.MOM.WW.MxGateway.Tests/Gateway/Workers/WorkerProcessLauncherTests.cs +++ b/src/ZB.MOM.WW.MxGateway.Tests/Gateway/Workers/WorkerProcessLauncherTests.cs @@ -69,6 +69,7 @@ public sealed class WorkerProcessLauncherTests Assert.Equal(WorkerProcessLaunchErrorCode.StartupFailed, exception.ErrorCode); Assert.True(process.KillCalled); + Assert.True(process.KillEntireProcessTree); Assert.True(process.DisposeCalled); Assert.True(pipeReservation.DisposeCalled); Assert.Equal(1, metrics.GetSnapshot().WorkerKills); @@ -122,6 +123,7 @@ public sealed class WorkerProcessLauncherTests Assert.Equal(WorkerProcessLaunchErrorCode.StartupTimeout, exception.ErrorCode); Assert.True(process.KillCalled); + Assert.True(process.KillEntireProcessTree); Assert.True(process.DisposeCalled); Assert.Equal(1, metrics.GetSnapshot().WorkerKills); }