Skip to content

Commit

Permalink
upgrade successful tx codes bash common
Browse files Browse the repository at this point in the history
  • Loading branch information
rigelrozanski committed Dec 10, 2017
1 parent f00ce7a commit 71d8b36
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/cli/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ indexer = "kv"
index_tags = "height,coin.sender,coin.receiver"
EOF

echo "Starting ${SERVER_EXE} server..."
startServer $SERVE_DIR $SERVER_LOG
return $?
echo "Starting ${SERVER_EXE} server..."
startServer $SERVE_DIR $SERVER_LOG
return $?
}

# XXX Ex Usage: startServer $SERVE_DIR $SERVER_LOG
Expand Down Expand Up @@ -181,8 +181,8 @@ checkRole() {
txSucceeded() {
if (assertTrue "line=${LINENO}, sent tx ($3): $2" $1); then
TX=$2
assertEquals "line=${LINENO}, good check ($3): $TX" null $(echo $TX | jq .check_tx.code)
assertEquals "line=${LINENO}, good deliver ($3): $TX" null $(echo $TX | jq .deliver_tx.code)
assertEquals "line=${LINENO}, good check ($3): $TX" 0 $(echo $TX | jq .check_tx.code)
assertEquals "line=${LINENO}, good deliver ($3): $TX" 0 $(echo $TX | jq .deliver_tx.code)
else
return 1
fi
Expand Down

0 comments on commit 71d8b36

Please sign in to comment.