Skip to content

Commit

Permalink
chore: fix issue with directory function, bump timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
chatton committed Nov 29, 2024
1 parent 1b83600 commit 94297c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/internal/directories/directories.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func E2E() (string, error) {

// arbitrary value to avoid getting stuck in an infinite loop if this is called
// in a context where the e2e directory does not exist.
if count > maxAttempts {
if count == maxAttempts {
return "", fmt.Errorf("unable to find e2e directory after %d tries", maxAttempts)
}

Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/upgrades/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ func (s *UpgradeTestSuite) TestV8ToV9ChainUpgrade_ICS20v2ChannelUpgrade() {
})

t.Run("verify channel A upgraded and transfer version is ics20-2", func(t *testing.T) {
err := test.WaitForCondition(time.Minute*2, time.Second*2, func() (bool, error) {
err := test.WaitForCondition(time.Minute*3, time.Second*2, func() (bool, error) {
channel, err := query.Channel(ctx, chainA, channelA.PortID, channelA.ChannelID)
if err != nil {
return false, err
Expand Down

0 comments on commit 94297c7

Please sign in to comment.