tendermint/test/p2p/pex/test.sh

16 lines
383 B
Bash
Raw Normal View History

2017-01-13 07:27:31 -08:00
#! /bin/bash
set -eu
DOCKER_IMAGE=$1
NETWORK_NAME=$2
N=$3
PROXY_APP=$4
2018-01-09 14:36:15 -08:00
cd "$GOPATH/src/github.com/tendermint/tendermint"
2017-01-13 07:27:31 -08:00
2017-03-05 20:12:27 -08:00
echo "Test reconnecting from the address book"
2018-01-09 14:36:15 -08:00
bash test/p2p/pex/test_addrbook.sh "$DOCKER_IMAGE" "$NETWORK_NAME" "$N" "$PROXY_APP"
2017-01-13 07:27:31 -08:00
2018-01-18 14:40:12 -08:00
echo "Test connecting via /dial_peers"
bash test/p2p/pex/test_dial_peers.sh "$DOCKER_IMAGE" "$NETWORK_NAME" "$N" "$PROXY_APP"