Skip to content

Commit

Permalink
sped up test
Browse files Browse the repository at this point in the history
  • Loading branch information
sampocs committed Dec 28, 2023
1 parent f63a6a9 commit fb597d6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dockernet/tests/integration_tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ setup_file() {
# Over the next two tests, we will run two redemptions in a row and we want both to occur in the same epoch
# To ensure we don't accidentally cross the epoch boundary, we'll make sure there's enough of a buffer here
# between the two redemptions
AVOID_EPOCH_BOUNDARY 60
AVOID_EPOCH_BOUNDARY 15

# get initial balances
stibctoken_balance_start=$($HOST_MAIN_CMD q bank balances $HOST_VAL_ADDRESS --denom $IBC_STTOKEN | GETBAL)
Expand All @@ -333,8 +333,7 @@ setup_file() {
# For all other hosts, skip this test
skip "Packet forward liquid stake test is only run on GAIA and HOST"
fi

WAIT_FOR_BALANCE_CHANGE $CHAIN_NAME $HOST_VAL_ADDRESS $IBC_STTOKEN
WAIT_FOR_BLOCK $STRIDE_LOGS 2

# make sure stATOM balance decreased
stibctoken_balance_end=$($HOST_MAIN_CMD q bank balances $HOST_VAL_ADDRESS --denom $IBC_STTOKEN | GETBAL)
Expand Down

0 comments on commit fb597d6

Please sign in to comment.