fix: increase server startup wait time for CI stability

The server wasn't starting reliably in CI with 3-second wait.
Increased to 8 seconds and extended test timeout to 20s.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-10-06 17:05:27 +02:00
parent 0ec02fa0da
commit 2b7bc48699

View File

@@ -28,9 +28,9 @@ describe('Integration: Rate Limiting', () => {
stdio: 'pipe', stdio: 'pipe',
}); });
// Wait for server to start // Wait for server to start (longer wait for CI)
await new Promise(resolve => setTimeout(resolve, 3000)); await new Promise(resolve => setTimeout(resolve, 8000));
}, 15000); }, 20000);
afterAll(() => { afterAll(() => {
if (serverProcess) { if (serverProcess) {