Browse Source

test: docker exec doesnt work on circle

pull/426/head
Ethan Buchman 8 years ago
parent
commit
22d95c7b51
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      test/p2p/pex/test_addrbook.sh

+ 3
- 1
test/p2p/pex/test_addrbook.sh View File

@ -24,7 +24,9 @@ set -e
bash test/p2p/peer.sh "$DOCKER_IMAGE" "$NETWORK_NAME" "$ID" "$PROXY_APP" "--pex"
docker cp "/tmp/addrbook.json" "local_testnet_$ID:/go/src/github.com/tendermint/tendermint/test/p2p/data/mach1/core/addrbook.json"
echo "with the following addrbook:"
docker exec "local_testnet_$ID" cat "/go/src/github.com/tendermint/tendermint/test/p2p/data/mach1/core/addrbook.json"
cat /tmp/addrbook.json
# exec doesn't work on circle
# docker exec "local_testnet_$ID" cat "/go/src/github.com/tendermint/tendermint/test/p2p/data/mach1/core/addrbook.json"
echo ""
# if the client runs forever, it means addrbook wasn't saved or was empty


Loading…
Cancel
Save