Commit 6fd32c30 authored by suyanlong's avatar suyanlong Committed by mdj33

fix ci

parent 72ab4fdf
...@@ -167,10 +167,9 @@ function start() { ...@@ -167,10 +167,9 @@ function start() {
# query node run status # query node run status
check_docker_status check_docker_status
${CLI} block last_header
${CLI} net info ${CLI} net info
${CLI} net peer ${CLI} net peer
${CLI} block last_header
local count=1000 local count=1000
while [ $count -gt 0 ]; do while [ $count -gt 0 ]; do
peersCount=$(${CLI} net peer | jq '.[] | length') peersCount=$(${CLI} net peer | jq '.[] | length')
......
...@@ -84,6 +84,8 @@ function check_tx() { ...@@ -84,6 +84,8 @@ function check_tx() {
ty=$(${CLI} tx query -s "${2}" | jq .receipt.ty) ty=$(${CLI} tx query -s "${2}" | jq .receipt.ty)
if [[ ${ty} != 2 ]]; then if [[ ${ty} != 2 ]]; then
echo -e "${RED}check tx error, hash is ${2}${NOC}" echo -e "${RED}check tx error, hash is ${2}${NOC}"
hashInfo=$(${CLI} tx query -s "${2}")
echo -e "${RED}query tx: ${hashInfo}${NOC}"
exit_test exit_test
fi fi
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment