mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-03-24 19:33:08 +00:00
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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user