Skip to content

Commit 8b6d7c8

Browse files
committed
test: raise timeouts on git-spawning tower and cold-fork tests
These three tests spawn real git processes and finish in about 3s idle, but exceed the 5s default under a loaded or slower CI runner.
1 parent 99c8d8f commit 8b6d7c8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/agent-core-v2/test/features/tower/store.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ describe('merge gate', () => {
680680
await store.merge(consumer.branch);
681681
const state = await store.load();
682682
expect(state.missions.find((m) => m.id === consumer.id)?.status).toBe('merged');
683-
});
683+
}, 30_000);
684684

685685
it('refuses files outside the mission scope until the tower widens it', async () => {
686686
const mission = await setupMission({
@@ -744,7 +744,7 @@ describe('merge gate', () => {
744744
expect(conflictsWith).toEqual([
745745
{ branch: second.branch, files: ['src/a/shared.ts'] },
746746
]);
747-
});
747+
}, 30_000);
748748

749749
it('closes a zero-diff survey with a noop merge — no review, no git ceremony', async () => {
750750
const [mission] = await store.plan([

packages/agent-gateway/test/sessions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ describe('server-v2 /api/v1/sessions', () => {
10551055
const resumed = await resumeSessionById((server as RunningServer).core.accessor, forkedId);
10561056
expect(resumed).toBeDefined();
10571057
expect(resumed!.accessor.get(IAgentLifecycleService).handleOf(MAIN_AGENT_ID)).toBeDefined();
1058-
});
1058+
}, 30_000);
10591059

10601060
it('keeps cron tasks across a server restart through the wire', async () => {
10611061
const cwd = home as string;

0 commit comments

Comments
 (0)