From 2fb9992488d0c0b22ed27f9970e72427e53fadb5 Mon Sep 17 00:00:00 2001 From: Dmytro Kasianenko Date: Thu, 27 Jun 2024 10:02:26 +0200 Subject: [PATCH] fix: increase backoff time --- connection/connection_integration_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connection/connection_integration_test.go b/connection/connection_integration_test.go index f65e260..dcdc769 100644 --- a/connection/connection_integration_test.go +++ b/connection/connection_integration_test.go @@ -26,8 +26,8 @@ func (s *TestSuite) SetupSuite() { s.rmqURL = rmqURL bo := backoff.NewExponentialBackOff() - bo.InitialInterval = 10 * time.Millisecond - bo.MaxElapsedTime = 5 * time.Second + bo.InitialInterval = 1 * time.Second + bo.MaxElapsedTime = 20 * time.Second s.backoff = backoff.WithMaxRetries(bo, 5) }