Skip to content

Commit

Permalink
Merge pull request #655 from mgrossu/increase_postgres_timeout
Browse files Browse the repository at this point in the history
Increase timeouts postgres
  • Loading branch information
dirkmueller authored Nov 14, 2024
2 parents 0a9b179 + f0cc4ef commit 4895caf
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 @@ -729,6 +729,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 4895caf

Please sign in to comment.