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)
pull/4774/head
Manuel Nuñez 2023-01-15 20:58:13 -03:00 committed by GitHub
parent db3cff01df
commit 56f028294b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {