Skip to content

Commit da71433

Browse files
committed
test(server): fix ACP host platform references after merge
1 parent 3caf3b1 commit da71433

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12318,7 +12318,7 @@ describe("AcpAdapterV2", () => {
1231812318
yield* Scope.close(runtimeScope, Exit.void);
1231912319
// The scope finalizer picks its kill path from the host, not processGroupPlatform,
1232012320
// so only a Windows host sends it through taskkill a second time.
12321-
const finalizerTaskkills = (yield* HostProcessPlatform) === "win32" ? 1 : 0;
12321+
const finalizerTaskkills = (yield* HostProcess.Platform) === "win32" ? 1 : 0;
1232212322
assert.equal(taskkillCommands.length, 1 + finalizerTaskkills);
1232312323
assert.deepEqual(taskkillCommands.at(-1), taskkillCommands[0]);
1232412324
}).pipe(Effect.provide(layerTest)),
@@ -12437,7 +12437,7 @@ describe("AcpAdapterV2", () => {
1243712437

1243812438
it.live("poisons the session when hard teardown defects and blocks replacement work", () =>
1243912439
Effect.gen(function* () {
12440-
if ((yield* HostProcessPlatform) !== "linux") return;
12440+
if ((yield* HostProcess.Platform) !== "linux") return;
1244112441
const childProcessSpawner = yield* ChildProcessSpawner.ChildProcessSpawner;
1244212442
const fileSystem = yield* FileSystem.FileSystem;
1244312443
const idAllocator = yield* IdAllocator.IdAllocatorV2;

0 commit comments

Comments
 (0)