Repository navigation
test(pipeline): make two timing tests independent of runner speed (ITL-1794) - #686
Conversation
…est independent of runner speed (ITL-1794) The fan-out test's time limit is now scaled from the sync run of the same graph on the same runner (10 times it, at least 60 s), and its second run is a new job over the same store, so it again finds every row stored (the first job holds a current run of every node since ITL-1095, so running it again did nothing). The pool-saturation test counts the calls running at once instead of timing the runs: every async call runs at once, sync calls never exceed the pool's workers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Fixes ITL-1794
Two tests failed on
Tests (3.11)during slow runs ofmainand passed on re-run. This PR makes each one independent of runner speed. Each still fails when the behaviour it guards breaks. Only tests change.test_function_fan_out_completes_when_every_row_is_stored(hang guard)test_async_async_faster_than_async_sync_under_pool_saturation(concurrency)The absolute wall-clock limits (
< 0.20 s,>= 0.25 s) are gone. The functions now count the calls running at once:Evidence
Throwaway checks; none is committed:
TimeoutErrorTimeoutErroron run 2LocalPythonFunctionExecutor.async_execute_callable)run_in_executor+asyncio.run)Stress runs: each test run 20 times in a row with 18 CPU-bound busy loops running on an 18-core machine.
No changelog fragment, because the change is test-only.
🤖 Generated with Claude Code