Skip to content

Commit

Permalink
Reduce GCEngine strategy period value for tests
Browse files Browse the repository at this point in the history
As of Parsl PR Parsl/parsl#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.
  • Loading branch information
rjmello committed Jun 28, 2024
1 parent 743fa1e commit 03e5a4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compute_endpoint/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__}")
Expand Down

0 comments on commit 03e5a4d

Please sign in to comment.