Properly check for failure (can't rely on set -e here)
				
					
				
			This commit is contained in:
		@@ -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=$?
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user