Skip to content

Commit fc9892b

Browse files
fix up
Signed-off-by: Ndacyayisenga-droid <[email protected]>
1 parent d271fca commit fc9892b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,18 @@ jobs:
3131
mirrorNodeVersion: v0.133.0
3232
mirrorNodePortRest: 5551
3333
mirrorNodePortGrpc: 5600
34+
mirrorNodePortWeb3Rest: 8545
3435

3536
- name: Wait for Mirror Node
3637
run: |
37-
echo "Waiting for Mirror Node to be ready on http://localhost:5551..."
38-
until curl --output /dev/null --silent --head --fail http://localhost:5551/health; do
38+
echo "Waiting for Mirror Node REST API to be ready on http://localhost:5551..."
39+
until curl --output /dev/null --silent --head --fail http://localhost:5551/api/v1/network/supply; do
3940
echo "Mirror Node not ready, waiting..."
41+
kubectl get svc -n solo
42+
curl --silent http://localhost:5551/api/v1/network/supply || echo "No response from /api/v1/network/supply"
4043
sleep 5
4144
done
42-
echo "Mirror Node is ready!"
45+
echo "Mirror Node REST API is ready!"
4346
4447
- name: Build with Maven
4548
env:

0 commit comments

Comments
 (0)