tendermint/test/p2p/pex/test.sh

16 lines
365 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
2017-03-05 20:12:27 -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"
bash test/p2p/pex/test_addrbook.sh $DOCKER_IMAGE $NETWORK_NAME $N $PROXY_APP
2017-01-13 07:27:31 -08:00
2017-03-05 20:12:27 -08:00
echo "Test connecting via /dial_seeds"
bash test/p2p/pex/test_dial_seeds.sh $DOCKER_IMAGE $NETWORK_NAME $N $PROXY_APP