From 03e5a4d85402534d11547f63aaac7cf1869d345d Mon Sep 17 00:00:00 2001 From: Reid Mello <30907815+rjmello@users.noreply.github.com> Date: Thu, 27 Jun 2024 16:33:21 -0400 Subject: [PATCH] Reduce GCEngine strategy period value for tests As of Parsl PR https://github.com/Parsl/parsl/pull/3283, the initial HTEX block scale out occurs on the first strategy poll, not at HTEX start. Thus, our tests should use a small strategy period to speed them up and avoid timeouts. --- compute_endpoint/tests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/compute_endpoint/tests/conftest.py b/compute_endpoint/tests/conftest.py index bdada612b..bdf535a67 100644 --- a/compute_endpoint/tests/conftest.py +++ b/compute_endpoint/tests/conftest.py @@ -124,6 +124,7 @@ def _runner(engine_type: t.Type[GlobusComputeEngineBase], **kwargs): address="127.0.0.1", heartbeat_period=engine_heartbeat, heartbeat_threshold=2, + job_status_kwargs=dict(max_idletime=0, strategy_period=0.1), ) else: raise NotImplementedError(f"Unimplemented: {engine_type.__name__}")