Skip to content

Commit ffb226c

Browse files
DIYgodclaude
andauthored
fix: increase worker integration test timeout to 60s (#20810)
The first two integration tests were timing out in CI environments because the Worker initialization takes longer than 30 seconds. This change increases the timeout from 30 seconds to 60 seconds for these tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Haiku 4.5 <[email protected]>
1 parent d40f812 commit ffb226c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/worker.worker.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ describe('Worker Integration Tests', () => {
2727
expect(text).toContain('<?xml');
2828
expect(text).toContain('<rss');
2929
expect(text).toContain('Test 1');
30-
}, 30000);
30+
}, 60000);
3131

3232
it('should respond to / with welcome page', async () => {
3333
const response = await worker.fetch('/');
3434
expect(response.status).toBe(200);
35-
}, 30000);
35+
}, 60000);
3636

3737
it('should return error for unknown routes', async () => {
3838
const response = await worker.fetch('/nonexistent/route/12345');

0 commit comments

Comments
 (0)