diff --git a/tests/e2e/bcd_consumer_integration_test.go b/tests/e2e/bcd_consumer_integration_test.go index 1b69a9a..50384b5 100644 --- a/tests/e2e/bcd_consumer_integration_test.go +++ b/tests/e2e/bcd_consumer_integration_test.go @@ -1075,7 +1075,7 @@ func (s *BCDConsumerIntegrationTestSuite) waitForIBCConnections() { s.T().Logf("Expected 2 Babylon IBC channels, got %d", len(babylonChannelsResp.Channels)) return false } - babylonChannel = babylonChannelsResp.Channels[1] + babylonChannel = babylonChannelsResp.Channels[0] if babylonChannel.State != channeltypes.OPEN { s.T().Logf("Babylon transfer channel state is not OPEN, got %s", babylonChannel.State) return false @@ -1083,7 +1083,7 @@ func (s *BCDConsumerIntegrationTestSuite) waitForIBCConnections() { s.Equal(channeltypes.UNORDERED, babylonChannel.Ordering) s.Contains(babylonChannel.Counterparty.PortId, "transfer") return true - }, time.Minute*4, time.Second*10, "Failed to get expected Babylon transfer IBC channel") + }, time.Minute*5, time.Second*10, "Failed to get expected Babylon transfer IBC channel") s.Eventually(func() bool { consumerChannelsResp, err := s.cosmwasmController.IBCChannels() @@ -1094,7 +1094,7 @@ func (s *BCDConsumerIntegrationTestSuite) waitForIBCConnections() { if len(consumerChannelsResp.Channels) != 2 { return false } - consumerChannel = consumerChannelsResp.Channels[1] + consumerChannel = consumerChannelsResp.Channels[0] if consumerChannel.State != channeltypes.OPEN { return false }