Properly check for failure (can't rely on set -e
here)
This commit is contained in:
parent
e21b6d9db3
commit
5d80edd969
@ -137,8 +137,8 @@ fi
|
|||||||
echo "--- $entrypointIp: validator sanity"
|
echo "--- $entrypointIp: validator sanity"
|
||||||
if $validatorSanity; then
|
if $validatorSanity; then
|
||||||
(
|
(
|
||||||
set -ex -o pipefail
|
set -x -o pipefail
|
||||||
./multinode-demo/setup.sh -t validator
|
./multinode-demo/setup.sh -t validator || exit $?
|
||||||
timeout 10s ./multinode-demo/validator.sh "$entrypointRsyncUrl" "$entrypointIp:8001" 2>&1 | tee validator.log
|
timeout 10s ./multinode-demo/validator.sh "$entrypointRsyncUrl" "$entrypointIp:8001" 2>&1 | tee validator.log
|
||||||
) || {
|
) || {
|
||||||
exitcode=$?
|
exitcode=$?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user