From a563df9442bc78ff2b3ff3878f81124fd2eea509 Mon Sep 17 00:00:00 2001 From: Artur Troian Date: Mon, 18 Sep 2023 13:56:27 -0400 Subject: [PATCH] Revert "chore(tests): wait a block period prior quering for upgrade proposal (#1894)" This reverts commit 9dfbfd8209533c2597b46d49a830cb387ee0533b. --- tests/upgrade/upgrade_test.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/upgrade/upgrade_test.go b/tests/upgrade/upgrade_test.go index 9141c194c8..7874783526 100644 --- a/tests/upgrade/upgrade_test.go +++ b/tests/upgrade/upgrade_test.go @@ -6,7 +6,6 @@ import ( "bufio" "context" "encoding/json" - "errors" "flag" "fmt" "io" @@ -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))