mirror of
https://github.com/razzant/ouroboros.git
synced 2026-10-04 04:55:30 +00:00
tests: the positive-capture custody pin does not race a 0.2 s slot timeout
CI run 33577803504 (macOS): the slot returns immediately, but the 0.2 s timeout expired before a loaded runner scheduled the worker, so the caller observed in_flight where settled was expected. The timeout is not the property under test; it is 10 s now.
This commit is contained in:
parent
a5cec66df4
commit
1072a317ad
1 changed files with 4 additions and 1 deletions
|
|
@ -31,9 +31,12 @@ def test_positive_capture_outranks_synthetic_not_dispatched_facts(
|
|||
surface="plan_review", goal="review", task_id=f"positive-wins-{suffix}",
|
||||
retry_key=f"plan_review:positive-wins:{suffix}",
|
||||
)
|
||||
# The slot returns at once; the timeout is not the property under test. A
|
||||
# tight 0.2 s let a loaded macOS runner time the worker out before it was
|
||||
# scheduled and report in_flight (CI run 33577803504).
|
||||
slot = ReviewSlot(
|
||||
slot_id="only", model="test/model", route=ReviewRouteKind.API_CHAT,
|
||||
timeout_sec=0.2,
|
||||
timeout_sec=10.0,
|
||||
)
|
||||
|
||||
def run_slot(slot, operation_id, _retry_state, _deadline, _checkpoint):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue