Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Increase transfer channel timeout
  • Loading branch information
maurolacy committed Dec 23, 2024
1 parent 79a15f9 commit a3483cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/bcd_consumer_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1075,15 +1075,15 @@ 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
}
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()
Expand All @@ -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
}
Expand Down

0 comments on commit a3483cf

Please sign in to comment.