From 56f028294b19168584cde6a2afa773f0dde70d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Nu=C3=B1ez?= <10672208+mind-ar@users.noreply.github.com> Date: Sun, 15 Jan 2023 20:58:13 -0300 Subject: [PATCH] fix(utils): fix suite setup timeout (#4771) After PR #4751 the suites times out if takes more of 60 seconds This PR honors the timeout configured at waitUntilAutheliaBackendIsReady (90s) --- internal/suites/environment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/suites/environment.go b/internal/suites/environment.go index 714343779..80f5ac260 100644 --- a/internal/suites/environment.go +++ b/internal/suites/environment.go @@ -19,7 +19,7 @@ func waitUntilServiceLogDetected( logPatterns []string) error { log.Debug("Waiting for service " + service + " to be ready...") - err := utils.CheckUntil(5*time.Second, 1*time.Minute, func() (bool, error) { + err := utils.CheckUntil(interval, timeout, func() (bool, error) { logs, err := dockerEnvironment.Logs(service, []string{"--tail", "20"}) if err != nil {