2022-05-23 14:13:09 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-01-20 13:22:01 +00:00
|
|
|
set -e
|
|
|
|
set -o xtrace
|
|
|
|
|
|
|
|
export PGPASSWORD=password
|
|
|
|
export DATABASE_USER=vdbm
|
2022-06-20 08:50:14 +00:00
|
|
|
export DATABASE_PORT=8077
|
2022-01-20 13:22:01 +00:00
|
|
|
export DATABASE_PASSWORD=password
|
|
|
|
export DATABASE_HOSTNAME=127.0.0.1
|
2022-06-20 08:50:14 +00:00
|
|
|
export DATABASE_NAME=vulcanize_testing
|
2022-01-20 13:22:01 +00:00
|
|
|
|
|
|
|
# Wait for containers to be up and execute the integration test.
|
|
|
|
while [ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:8545)" != "200" ]; do echo "waiting for geth-statediff..." && sleep 5; done && \
|
2022-05-17 13:06:08 +00:00
|
|
|
make integrationtest
|