test(server): restore entireProcessTree kill assertion in WorkerProcessLauncherTests (Task 9 review)

This commit is contained in:
Joseph Doherty
2026-06-16 17:22:46 -04:00
parent e2b1a6686a
commit 44d676aede
@@ -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);
}