mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-09-28 20:26:02 +00:00
CI: Waiting until Synapse is ready
This commit is contained in:
parent
a88a494f7a
commit
5c000b2fee
@ -4,6 +4,11 @@ up:
|
||||
before:
|
||||
# Launch the reverse proxy, listening for connections *only* on the local host.
|
||||
- docker run --rm --network host --name mjolnir-test-reverse-proxy -p 127.0.0.1:8081:80 -v $MX_TEST_CWD/test/nginx.conf:/etc/nginx/nginx.conf:ro -d nginx
|
||||
after:
|
||||
# Wait until Synapse is ready
|
||||
- until curl localhost:9999 --stderr /dev/null > /dev/null; do echo "Waiting for Synapse..."; sleep 1s; done
|
||||
- echo "Synapse is ready"
|
||||
|
||||
run:
|
||||
- yarn test:integration
|
||||
down:
|
||||
|
Loading…
Reference in New Issue
Block a user