Skip to content

Commit

Permalink
Temporarily increase timeouts
Browse files Browse the repository at this point in the history
Increase the timeouts for container startup temporarily due to the need
of using emulated ppc workers.
  • Loading branch information
grisu48 committed Nov 13, 2024
1 parent 865a76d commit a392e9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_mariadb.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ def _generate_test_matrix() -> List[ParameterSet]:
return params


## FIXME Increased attempts from 5 to 8 due to https://github.com/SUSE/BCI-tests/issues/647
@retry(
wait=wait_exponential(multiplier=1, min=4, max=10),
stop=stop_after_attempt(5),
stop=stop_after_attempt(8),
)
def _wait_for_server(connection):
connection.check_output("healthcheck.sh --connect")
Expand Down
1 change: 1 addition & 0 deletions tests/test_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def test_postgres_db_env_vars(
pg_user: Optional[str],
password: str,
username: Optional[str],
healthcheck_timeout: 180, # FIXME https://github.com/SUSE/BCI-tests/issues/647
) -> None:
"""Simple smoke test connecting to the PostgreSQL database using the example
from `<https://www.psycopg.org/docs/usage.html#basic-module-usage>`_ while
Expand Down

0 comments on commit a392e9e

Please sign in to comment.