From 77bc38dfe837867a56ebcb78db21acdfb03b82af Mon Sep 17 00:00:00 2001 From: DimitrisJim Date: Mon, 15 May 2023 11:14:21 +0300 Subject: [PATCH] Add a wait for the packets in additional places. --- e2e/tests/interchain_accounts/incentivized_test.go | 2 ++ e2e/tests/transfer/base_test.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/e2e/tests/interchain_accounts/incentivized_test.go b/e2e/tests/interchain_accounts/incentivized_test.go index ebe869e3dcb..d43e371cd9c 100644 --- a/e2e/tests/interchain_accounts/incentivized_test.go +++ b/e2e/tests/interchain_accounts/incentivized_test.go @@ -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) diff --git a/e2e/tests/transfer/base_test.go b/e2e/tests/transfer/base_test.go index 2b1f6a1b284..a3c5bc59bf9 100644 --- a/e2e/tests/transfer/base_test.go +++ b/e2e/tests/transfer/base_test.go @@ -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) {