Skip to content

Commit

Permalink
add sleep time for query-transaction-result integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
tj327 committed Nov 23, 2023
1 parent 30ecc38 commit 90d22e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/test-local/Transactions/query-transaction-result.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ addAccount testuser5
TESTUSER_ADDRESS=$(showAddress testuser5)

RESULT=$(sekaid tx bank send validator $TESTUSER_ADDRESS 5ukex --keyring-backend=test --chain-id=$NETWORK_NAME --fees 100ukex --broadcast-mode=async --output=json --yes --home=$SEKAID_HOME 2> /dev/null || exit 1)
TX_HASH=$(echo $RESULT | jsonQuickParse "txhash" | tr -d '"')
TX_HASH=$(echo $RESULT | jsonQuickParse "txhash")
sleep 5

INTERX_GATEWAY="127.0.0.1:11000"
RESULT_FROM_INTERX=$(curl --fail $INTERX_GATEWAY/api/transactions/0x$TX_HASH || exit 1)
Expand Down

0 comments on commit 90d22e6

Please sign in to comment.