Skip to content

Commit

Permalink
revert MaxWaitTimeForEvents
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 committed Jun 28, 2024
1 parent dc11996 commit 04468a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/services/relay/evm/chain_reader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ func (h *helper) Context(t *testing.T) context.Context {
}

func (h *helper) MaxWaitTimeForEvents() time.Duration {
// There are no scheduling guarantees in a busy CI test suite. 30s was failing frequently.
maxWaitTime := 10 * time.Minute
// From trial and error, when running on CI, sometimes the boxes get slow
maxWaitTime := time.Second * 30
maxWaitTimeStr, ok := os.LookupEnv("MAX_WAIT_TIME_FOR_EVENTS_S")
if ok {
waitS, err := strconv.ParseInt(maxWaitTimeStr, 10, 64)
Expand Down

0 comments on commit 04468a9

Please sign in to comment.