Skip to content

Commit 723610c

Browse files
committed
Fix CI timeout issues
- Increase Neo4j wait timeout from 60s to 180s - Increase app wait timeout from 60s to 120s - Add debug logging to show progress - Redirect stderr to avoid curl errors cluttering logs
1 parent 60a7306 commit 723610c

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/comprehensive-tests.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,19 @@ jobs:
7070
# Start Docker services
7171
docker compose -f deployment/docker-compose.yml up -d graphdone-neo4j
7272
73-
# Wait for Neo4j to be ready
74-
timeout 60 bash -c 'until curl -s http://localhost:7474 > /dev/null; do sleep 2; done'
73+
# Wait for Neo4j to be ready (increased timeout)
74+
echo "Waiting for Neo4j to start..."
75+
timeout 180 bash -c 'until curl -s http://localhost:7474 > /dev/null 2>&1; do echo "Neo4j not ready yet..."; sleep 5; done'
76+
echo "Neo4j is ready!"
7577
7678
# Start application in background
7779
npm run build
7880
npm run dev &
7981
80-
# Wait for application to be ready
81-
timeout 60 bash -c 'until curl -k -s https://localhost:3128/health > /dev/null; do sleep 2; done'
82+
# Wait for application to be ready (increased timeout)
83+
echo "Waiting for application to start..."
84+
timeout 120 bash -c 'until curl -k -s https://localhost:3128/health > /dev/null 2>&1; do echo "App not ready yet..."; sleep 5; done'
85+
echo "Application is ready!"
8286
8387
- name: Run comprehensive tests
8488
run: |

0 commit comments

Comments
 (0)