Skip to content

Commit 8d364fb

Browse files
committed
chore: use latest local network
1 parent 03e54ab commit 8d364fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup-test-network.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if [ ! -d "local-network" ]; then
5656
git clone https://github.com/edgeandnode/local-network.git
5757
cd local-network
5858
# Checkout to a specific commit that is known to work
59-
git checkout 006e2511d4b8262ff14ff6cd5e1b75f0663dee98
59+
git checkout ad98716661b033dd5e4cb9f09cebb80dba954c2d
6060
cd ..
6161
fi
6262

@@ -118,7 +118,7 @@ sleep 10
118118
# tap-escrow-manager requires subgraph-deploy
119119
echo "Starting tap-escrow-manager..."
120120
docker compose up -d tap-escrow-manager
121-
sleep 10
121+
timeout 90 bash -c 'until docker ps --filter "name=^tap-escrow-manager$" --format "{{.Names}}" | grep -q "^tap-escrow-manager$"; do echo "Waiting for tap-escrow-manager container to appear..."; sleep 5; done'
122122

123123
# Start redpanda if it's not already started (required for gateway)
124124
if ! docker ps | grep -q redpanda; then
@@ -191,7 +191,7 @@ docker run -d --name gateway \
191191
echo "Waiting for gateway to be available..."
192192

193193
# Ensure gateway is ready before testing
194-
timeout 300 bash -c 'until curl -f http://localhost:7700/ > /dev/null 2>&1; do echo "Waiting for gateway service..."; sleep 5; done'
194+
timeout 100 bash -c 'until curl -f http://localhost:7700/ > /dev/null 2>&1; do echo "Waiting for gateway service..."; sleep 5; done'
195195

196196
# After all services are running, measure the disk space used
197197
END_SPACE=$(df -h --output=used /var/lib/docker | tail -1)

0 commit comments

Comments
 (0)