Skip to content

Commit

Permalink
add 10 minutes timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
petrkalos committed Jun 19, 2024
1 parent 9a9bcc5 commit 55b827c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
log = logging.getLogger(__name__)


@poller(check_success=lambda env: not re.match(r'.*IN_PROGRESS|PENDING', env.stack.status, re.IGNORECASE))
@poller(check_success=lambda env: not re.match(r'.*IN_PROGRESS|PENDING', env.stack.status, re.IGNORECASE), timeout=600)
def check_env_ready(client, env_uri):
env = get_environment(client, env_uri)
log.info(f'polling {env_uri=}, new {env.stack.status=}')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,5 @@ def test_archive_organization_organization_with_unauthorized_team(client3, org1)
org1.organizationUri,
)


# TODO: list_organization_environments as part of environment tests

0 comments on commit 55b827c

Please sign in to comment.