test: example upgrade handler and systems test (#24182)

This commit is contained in:
Alex | Interchain Labs
2025-03-29 00:46:08 +00:00
committed by GitHub
parent e85a5c0bc1
commit 056bcd7022
5 changed files with 145 additions and 29 deletions
+1 -1
View File
@@ -416,7 +416,7 @@ func (s *SystemUnderTest) AwaitBlockHeight(t *testing.T, targetHeight int64, tim
// Returns the new height
func (s *SystemUnderTest) AwaitNextBlock(t *testing.T, timeout ...time.Duration) int64 {
t.Helper()
maxWaitTime := s.blockTime * 3
maxWaitTime := s.blockTime * 6
if len(timeout) != 0 { // optional argument to overwrite default timeout
maxWaitTime = timeout[0]
}