From 04468a9b1582e42609c0ecec5dfebfd3c316944a Mon Sep 17 00:00:00 2001 From: Jordan Krage Date: Fri, 28 Jun 2024 12:48:51 -0500 Subject: [PATCH] revert MaxWaitTimeForEvents --- core/services/relay/evm/chain_reader_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/services/relay/evm/chain_reader_test.go b/core/services/relay/evm/chain_reader_test.go index 691f370d3d9..1e32753bc52 100644 --- a/core/services/relay/evm/chain_reader_test.go +++ b/core/services/relay/evm/chain_reader_test.go @@ -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)