[misc] wait for mongo before running acceptance tests (#26374)

GitOrigin-RevId: 1fde30c2b630a51f5eda9d318ac721a81cc23607
This commit is contained in:
Jakob Ackermann
2025-06-12 10:36:43 +02:00
committed by Copybot
parent 365af778b6
commit 8b91b3b749
16 changed files with 44 additions and 0 deletions

View File

@@ -28,12 +28,15 @@ services:
MOCHA_GREP: ${MOCHA_GREP}
NODE_ENV: test
NODE_OPTIONS: "--unhandled-rejections=strict"
volumes:
- ../../bin/shared/wait_for_it:/overleaf/bin/shared/wait_for_it
depends_on:
mongo:
condition: service_started
redis:
condition: service_healthy
user: node
entrypoint: /overleaf/bin/shared/wait_for_it mongo:27017 --timeout=0 --
command: npm run test:acceptance