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); }