From 7df6f61ab0c8f0830213a818dc653451d46c9cf4 Mon Sep 17 00:00:00 2001 From: Lei Wang Date: Wed, 8 Jan 2025 15:26:07 -0500 Subject: [PATCH] Increase max timeout in smoke tests to avoid tutorial endpoint slowness --- .../globus_compute_endpoint/engines/high_throughput/messages.py | 1 + smoke_tests/tests/conftest.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/compute_endpoint/globus_compute_endpoint/engines/high_throughput/messages.py b/compute_endpoint/globus_compute_endpoint/engines/high_throughput/messages.py index 542c19f31..c80ac04f5 100644 --- a/compute_endpoint/globus_compute_endpoint/engines/high_throughput/messages.py +++ b/compute_endpoint/globus_compute_endpoint/engines/high_throughput/messages.py @@ -108,6 +108,7 @@ def pack(self) -> bytes: f"TID={self.task_id};CID={self.container_id};" # type: ignore f"{self.task_buffer}" ) + self.raw_buffer = add_ons.encode("utf-8") return self.type.pack() + self.raw_buffer diff --git a/smoke_tests/tests/conftest.py b/smoke_tests/tests/conftest.py index 4794d1f6f..f5458476a 100644 --- a/smoke_tests/tests/conftest.py +++ b/smoke_tests/tests/conftest.py @@ -225,7 +225,7 @@ def tutorial_function_id(compute_test_config): @pytest.fixture def timeout_s(): - return 60 + return 300 class LinearBackoff: