From c92d4fc3b6209ae542a1d88e457cdf0ca8d7d38d Mon Sep 17 00:00:00 2001 From: Emmett Butler Date: Fri, 18 Oct 2024 14:22:08 -0700 Subject: [PATCH] ten minutes? --- utils/onboarding/backend_interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/onboarding/backend_interface.py b/utils/onboarding/backend_interface.py index 582fb9e09e..0321c26566 100644 --- a/utils/onboarding/backend_interface.py +++ b/utils/onboarding/backend_interface.py @@ -86,7 +86,7 @@ def _query_for_crash_log(runtime_id): host = "https://api.datadoghq.com" try: time_to = datetime.now(timezone.utc) - time_from = time_to - timedelta(minutes=5) + time_from = time_to - timedelta(minutes=10) queryJson = { "filter": { @@ -151,5 +151,5 @@ def wait_backend_data( def cause_and_verify_crash(runtime_id: str, vm_ip: str, vm_port: str): logger.info(f"Making a crash-inducing request to weblog [{vm_ip}:{vm_port}]") make_get_request(f"http://{vm_ip}:{vm_port}/crashme", swallow=True) - (status,) = _retry_request_until_timeout(functools.partial(_query_for_crash_log, runtime_id), timeout=300.0) + (status,) = _retry_request_until_timeout(functools.partial(_query_for_crash_log, runtime_id), timeout=600.0) logger.info(f"crash from runtime {runtime_id} found in the backend!")