diff --git a/DOCKER/Dockerfile.testing b/DOCKER/Dockerfile.testing new file mode 100644 index 00000000..3e281dce --- /dev/null +++ b/DOCKER/Dockerfile.testing @@ -0,0 +1,18 @@ +FROM golang:1.10.1 + + +# Grab deps (jq, hexdump, xxd, killall) +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + jq bsdmainutils vim-common psmisc netcat + +# Add testing deps for curl +RUN echo 'deb http://httpredir.debian.org/debian testing main non-free contrib' >> /etc/apt/sources.list && \ + apt-get update && \ + apt-get install -y --no-install-recommends curl + +VOLUME /go + +EXPOSE 46656 +EXPOSE 46657 + diff --git a/DOCKER/Makefile b/DOCKER/Makefile index 10c97250..32510ebb 100644 --- a/DOCKER/Makefile +++ b/DOCKER/Makefile @@ -7,6 +7,9 @@ push: build_develop: docker build -t "tendermint/tendermint:develop" -f Dockerfile.develop . +build_testing: + docker build --tag tendermint/testing -f ./Dockerfile.testing . + push_develop: docker push "tendermint/tendermint:develop" diff --git a/test/persist/test_failure_indices.sh b/test/persist/test_failure_indices.sh index dd630e1b..f97cd718 100644 --- a/test/persist/test_failure_indices.sh +++ b/test/persist/test_failure_indices.sh @@ -82,7 +82,7 @@ for failIndex in $(seq $failsStart $failsEnd); do echo "* Test FailIndex $failIndex" # test failure at failIndex - bash ./test/utils/txs.sh "localhost:46657" & + bash $(dirname $0)/txs.sh "localhost:46657" & start_procs 1 "$failIndex" # tendermint should already have exited when it hits the fail index diff --git a/test/utils/txs.sh b/test/persist/txs.sh similarity index 100% rename from test/utils/txs.sh rename to test/persist/txs.sh