Skip to content

Commit

Permalink
Revert "chore(tests): wait a block period prior quering for upgrade p…
Browse files Browse the repository at this point in the history
…roposal (#1894)"

This reverts commit 9dfbfd8.
  • Loading branch information
troian committed Sep 18, 2023
1 parent 9dfbfd8 commit a563df9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/upgrade/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"bufio"
"context"
"encoding/json"
"errors"
"flag"
"fmt"
"io"
Expand Down Expand Up @@ -699,14 +698,6 @@ func (l *upgradeTest) submitUpgradeProposal() error {
return err
}

timeout, tCancel := context.WithTimeout(l.ctx, 7*time.Second)
defer tCancel()

<-timeout.Done()
if err := timeout.Err(); err != nil && !errors.Is(err, context.DeadlineExceeded) {
return err
}

cmdRes, err = l.cmdr.execute(l.ctx, "query gov proposals")
if err != nil {
l.t.Logf("executing cmd failed: %s\n", string(cmdRes))
Expand Down

0 comments on commit a563df9

Please sign in to comment.