Browse Source

Print

pull/2052/head
Jae Kwon 7 years ago
parent
commit
835c2ee74a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      test/p2p/basic/test.sh

+ 1
- 0
test/p2p/basic/test.sh View File

@ -56,6 +56,7 @@ for i in `seq 1 $N`; do
# - assert block height is greater than 1
BLOCK_HEIGHT=`curl -s $addr/status | jq .result.sync_info.latest_block_height | jq fromjson`
COUNT=0
echo "$$BLOCK_HEIGHT IS $BLOCK_HEIGHT"
while [ "$BLOCK_HEIGHT" -le 1 ]; do
echo "Waiting for node $i to commit a block ..."
sleep 1


Loading…
Cancel
Save