Browse Source

test: more logging

pull/414/head
Ethan Buchman 8 years ago
parent
commit
7fab31fbe3
2 changed files with 3 additions and 2 deletions
  1. +1
    -0
      test/p2p/kill_all/check_peers.sh
  2. +2
    -2
      test/p2p/peer.sh

+ 1
- 0
test/p2p/kill_all/check_peers.sh View File

@ -40,6 +40,7 @@ for i in $(seq 2 "$NUM_OF_PEERS"); do
((attempt++))
if [ "$attempt" -ge $MAX_ATTEMPTS_TO_CATCH_UP ] ; then
echo "$attempt unsuccessful attempts were made to catch up"
curl -s "$addr/dump_consensus_state" | jq .result[1]
exit 1
fi


+ 2
- 2
test/p2p/peer.sh View File

@ -29,7 +29,7 @@ if [[ "$CIRCLECI" == true ]]; then
--log-opt syslog-address=udp://127.0.0.1:5514 \
--log-opt syslog-facility=daemon \
--log-opt tag="{{.Name}}" \
$DOCKER_IMAGE node $SEEDS --proxy_app=$APP_PROXY
$DOCKER_IMAGE node $SEEDS --log_level=debug --proxy_app=$APP_PROXY
else
set -u
docker run -d \
@ -38,5 +38,5 @@ else
--name local_testnet_$ID \
--entrypoint tendermint \
-e TMROOT=/go/src/github.com/tendermint/tendermint/test/p2p/data/mach$ID/core \
$DOCKER_IMAGE node $SEEDS --proxy_app=$APP_PROXY
$DOCKER_IMAGE node $SEEDS --log_level=info --proxy_app=$APP_PROXY
fi

Loading…
Cancel
Save