|
|
@ -35,21 +35,21 @@ else |
|
|
|
docker run --name run_test -t tester bash test/run_test.sh |
|
|
|
fi |
|
|
|
|
|
|
|
## copy the coverage results out of docker container |
|
|
|
#docker cp run_test:/go/src/github.com/tendermint/tendermint/coverage.txt . |
|
|
|
# |
|
|
|
## test basic network connectivity |
|
|
|
## by starting a local testnet and checking peers connect and make blocks |
|
|
|
#echo |
|
|
|
#echo "* [$(date +"%T")] running p2p tests on a local docker network" |
|
|
|
#bash "$DIR/p2p/test.sh" tester |
|
|
|
# |
|
|
|
## only run the cloud benchmark for releases |
|
|
|
#BRANCH=$(git rev-parse --abbrev-ref HEAD) |
|
|
|
#if [[ $(echo "$BRANCH" | grep "release-") != "" ]]; then |
|
|
|
# echo |
|
|
|
# echo "TODO: run network tests" |
|
|
|
# #echo "* branch $BRANCH; running mintnet/netmon throughput benchmark" |
|
|
|
# # TODO: replace mintnet |
|
|
|
# #bash "$DIR/net/test.sh" |
|
|
|
#fi |
|
|
|
# copy the coverage results out of docker container |
|
|
|
docker cp run_test:/go/src/github.com/tendermint/tendermint/coverage.txt . |
|
|
|
|
|
|
|
# test basic network connectivity |
|
|
|
# by starting a local testnet and checking peers connect and make blocks |
|
|
|
echo |
|
|
|
echo "* [$(date +"%T")] running p2p tests on a local docker network" |
|
|
|
bash "$DIR/p2p/test.sh" tester |
|
|
|
|
|
|
|
# only run the cloud benchmark for releases |
|
|
|
BRANCH=$(git rev-parse --abbrev-ref HEAD) |
|
|
|
if [[ $(echo "$BRANCH" | grep "release-") != "" ]]; then |
|
|
|
echo |
|
|
|
echo "TODO: run network tests" |
|
|
|
#echo "* branch $BRANCH; running mintnet/netmon throughput benchmark" |
|
|
|
# TODO: replace mintnet |
|
|
|
#bash "$DIR/net/test.sh" |
|
|
|
fi |