test: more logging

This commit is contained in:
Ethan Buchman 2017-02-21 11:18:40 -05:00
parent d754d210cd
commit 7fab31fbe3
2 changed files with 3 additions and 2 deletions

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

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