Skip to content

Commit

Permalink
increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
adriengentil committed Dec 3, 2024
1 parent e63ae7a commit c29061c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ def _create_pre_authenticated(
par = obj.data.full_path

r = requests.head(par)
log.info("r = requests.head(par) -> {r}")
log.info(f"r = requests.head(par) -> {r}")
assert r.status_code == 200
log.info(f"r = requests.head(par) -> content-length: {int(r.headers["Content-Length"])} file size: {os.path.getsize(file_path)}")
assert int(r.headers["Content-Length"]) == os.path.getsize(file_path)

return par

Expand Down Expand Up @@ -297,7 +297,7 @@ def _create_stack(
return obj.data.id

def _apply_job_from_stack(
self, stack_id: str, display_name: str, timeout_seconds: int = 1800, interval_wait: int = 60
self, stack_id: str, display_name: str, timeout_seconds: int = 3600, interval_wait: int = 60
) -> str:
"""Apply job will run the stack terraform code and create the resources.
Expand Down

0 comments on commit c29061c

Please sign in to comment.