Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase integration tests runner's timeout from 120s to 180s #785

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildpack/telemetry/fluentbit.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def run(model_version, runtime_version):

# The runtime does not handle a non-open logs endpoint socket
# gracefully, so wait until it's up
@backoff.on_predicate(backoff.expo, lambda x: x > 0, max_time=120)
@backoff.on_predicate(backoff.expo, lambda x: x > 0, max_time=240)
def _await_logging_endpoint():
return socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(
("localhost", int(FLUENTBIT_ENV_VARS["FLUENTBIT_LOGS_PORT"]))
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def stage(

return result

def start(self, start_timeout=120, health="healthy"):
def start(self, start_timeout=360, health="healthy"):
self._check_for_cflocal()

if not self._container_id:
Expand Down Expand Up @@ -500,7 +500,7 @@ def stage(self, *args, **kwargs):

return super().stage(*args, **kwargs)

def start(self, start_timeout=120, health="healthy"):
def start(self, start_timeout=360, health="healthy"):
# Wait until the database is up
@backoff.on_predicate(backoff.expo, lambda x: x > 0, max_time=30)
def _await_database():
Expand Down
Loading