Skip to content

Commit ab8a14d

Browse files
committed
test: stabilize loaded integration timeouts
1 parent 6091f4e commit ab8a14d

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
@@ -587,7 +587,7 @@ describe('merge gate', () => {
587587
await store.merge(consumer.branch);
588588
const state = await store.load();
589589
expect(state.missions.find((m) => m.id === consumer.id)?.status).toBe('merged');
590-
});
590+
}, 15_000);
591591

592592
it('refuses files outside the mission scope until the tower widens it', async () => {
593593
const mission = await setupMission({
@@ -651,7 +651,7 @@ describe('merge gate', () => {
651651
expect(conflictsWith).toEqual([
652652
{ branch: second.branch, files: ['src/a/shared.ts'] },
653653
]);
654-
});
654+
}, 15_000);
655655

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

packages/agent-gateway/test/fs-watch.e2e.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ describe('WS fs watch (agent-gateway)', () => {
210210

211211
writeFileSync(join(workspace, 'src', 'instant.ts'), 'export const i = 1;\n');
212212

213-
const ev = await receiveType(conn, 'event.fs.changed', 3000);
213+
const ev = await receiveType(conn, 'event.fs.changed', 10_000);
214214
expect(ev.session_id).toBe(sid);
215215
const payload = ev.payload as { changes: Array<{ path: string }> };
216216
expect(payload.changes.some((c) => c.path === 'src/instant.ts' || c.path === 'src')).toBe(true);

0 commit comments

Comments
 (0)