Skip to content

Commit 90811ae

Browse files
SunkenInTimeclaude
andcommitted
test(tailscale): drop the slow-status test
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent a819105 commit 90811ae

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

‎packages/tailscale/src/tailscale.test.ts‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -329,26 +329,6 @@ describe("tailscale", () => {
329329
}).pipe(Effect.provide(layer));
330330
});
331331

332-
it.effect("waits for a tailscale status that takes 2.6 seconds, as seen on Windows", () => {
333-
const slowHandle = ChildProcessSpawner.makeHandle({
334-
...mockHandle({ stdout: tailscaleStatusWithSingleIpJson }),
335-
exitCode: Effect.sleep("2600 millis").pipe(Effect.as(ChildProcessSpawner.ExitCode(0))),
336-
});
337-
const layer = Layer.merge(
338-
TestClock.layer(),
339-
layerSpawner(ChildProcessSpawner.make(() => Effect.succeed(slowHandle))),
340-
);
341-
342-
return Effect.gen(function* () {
343-
const fiber = yield* readTailscaleStatus.pipe(Effect.forkScoped);
344-
yield* Effect.yieldNow;
345-
yield* TestClock.adjust("2600 millis");
346-
const status = yield* Fiber.join(fiber);
347-
348-
assert.equal(status.magicDnsName, "desktop.tail.ts.net");
349-
}).pipe(Effect.provide(layer));
350-
});
351-
352332
it.effect("configures tailscale serve through the process spawner service", () => {
353333
const layer = layerMockSpawner((command, args) => {
354334
assert.equal(command, "tailscale");

0 commit comments

Comments
 (0)