mirror of https://github.com/hyperledger/besu
An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
489 B
25 lines
489 B
6 years ago
|
#!/bin/bash
|
||
|
|
||
|
export GOSS_PATH=tests/goss-linux-amd64
|
||
|
export GOSS_OPTS="$GOSS_OPTS --format junit"
|
||
|
export GOSS_FILES_STRATEGY=cp
|
||
|
DOCKER_IMAGE=$1
|
||
|
|
||
|
i=0
|
||
|
|
||
|
# Test for normal startup with ports opened
|
||
|
GOSS_FILES_PATH=tests/01 \
|
||
|
bash tests/dgoss \
|
||
|
run $DOCKER_IMAGE \
|
||
|
--network=dev \
|
||
|
--p2p-host=0.0.0.0 \
|
||
|
--rpc-http-enabled \
|
||
|
--rpc-http-host=0.0.0.0 \
|
||
|
--rpc-ws-enabled \
|
||
|
--rpc-ws-host=0.0.0.0 \
|
||
|
--graphql-http-enabled \
|
||
|
--graphql-http-host=0.0.0.0 \
|
||
|
> ./reports/01.xml || i=`expr $i + 1`
|
||
|
|
||
|
exit $i
|