diff --git a/integration-test/run.sh b/integration-test/run.sh index c0d1c7d..34002ef 100755 --- a/integration-test/run.sh +++ b/integration-test/run.sh @@ -5,4 +5,4 @@ set -x make install -parallel --lb -j2 --halt-on-error 2 ::: './start.sh' './integration-test/test.sh' \ No newline at end of file +parallel --lb -j2 --halt-on-error 2 ::: './start.sh >> node_logs.txt 2>&1' './integration-test/test.sh' \ No newline at end of file diff --git a/integration-test/test.sh b/integration-test/test.sh index b291834..689f3da 100755 --- a/integration-test/test.sh +++ b/integration-test/test.sh @@ -5,11 +5,12 @@ set -x rm -fr teritori-dapp git clone https://github.com/TERITORI/teritori-dapp.git +#cd ~/Code/teritori-dapp cd teritori-dapp -git checkout 267a3f9604d48c6f1ea5c31d13a5d24c6ed35210 +git checkout 4ee2706bb5b1a929c481894741b379cd3565dbce yarn -while ! curl http://localhost:1317/node_info; do sleep 1; done +while ! curl -s http://localhost:26657/status | jq -e '.result.sync_info.latest_block_height|tonumber > 0'; do sleep 5; done npx tsx packages/scripts/network-setup/deploy teritori-localnet validator \ No newline at end of file