Skip to content

Commit

Permalink
Add a wait for the packets in additional places.
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisJim committed May 15, 2023
1 parent 2bb1e3e commit 77bc38d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/tests/interchain_accounts/incentivized_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ func (s *IncentivizedInterchainAccountsTestSuite) TestMsgSendTx_SuccessfulBankSe
s.StartRelayer(relayer)
})

s.Require().NoError(test.WaitForBlocks(ctx, 5, chainA, chainB), "failed to wait for blocks")

t.Run("packets are relayed", func(t *testing.T) {
packets, err := s.QueryIncentivizedPacketsForChannel(ctx, chainA, channelOutput.PortID, channelOutput.ChannelID)
s.Require().NoError(err)
Expand Down
2 changes: 2 additions & 0 deletions e2e/tests/transfer/base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ func (s *TransferTestSuite) TestMsgTransfer_WithMemo() {
s.StartRelayer(relayer)
})

s.Require().NoError(test.WaitForBlocks(ctx, 5, chainA, chainB), "failed to wait for blocks")

chainBIBCToken := testsuite.GetIBCToken(chainADenom, channelA.Counterparty.PortID, channelA.Counterparty.ChannelID)

t.Run("packets relayed", func(t *testing.T) {
Expand Down

0 comments on commit 77bc38d

Please sign in to comment.