Skip to content

Commit

Permalink
Increase timeouts postgress
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrossu committed Nov 14, 2024
1 parent b75ed39 commit 86b580f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions bci_tester/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,12 @@ def create_BCI(
available_versions=pg_versions,
forwarded_ports=[PortForwarding(container_port=5432)],
extra_environment_variables={"POSTGRES_PASSWORD": POSTGRES_PASSWORD},
# https://github.com/SUSE/BCI-tests/issues/647
healthcheck_timeout=(
timedelta(minutes=6)
if LOCALHOST.system_info.arch == "ppc64le"
else None
),
)
for pg_ver, pg_versions in (
(14, ["tumbleweed"]),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _generate_test_matrix() -> List[ParameterSet]:
),
# https://github.com/SUSE/BCI-tests/issues/647
healthcheck_timeout=(
timedelta(minutes=3)
timedelta(minutes=6)
if LOCALHOST.system_info.arch == "ppc64le"
else None
),
Expand Down

0 comments on commit 86b580f

Please sign in to comment.