Scale `test_open_local_sub_to_stream` timeout by CPU factor
Import and apply `cpu_scaling_factor()` from `conftest`; bump base from 3.6 -> 4 and multiply through so CI boxes with slow CPUs don't flake. (this commit msg was generated in some part by [`claude-code`][claude-code-gh]) [claude-code-gh]: https://github.com/anthropics/claude-codesubint_spawner_backend
parent
7c8e5a6732
commit
3867403fab
|
|
@ -213,9 +213,12 @@ def test_open_local_sub_to_stream(
|
|||
N local tasks using `trionics.maybe_open_context()`.
|
||||
|
||||
'''
|
||||
timeout: float = 3.6
|
||||
if platform.system() == "Windows":
|
||||
timeout: float = 10
|
||||
from .conftest import cpu_scaling_factor
|
||||
timeout: float = (
|
||||
4
|
||||
if not platform.system() == "Windows"
|
||||
else 10
|
||||
) * cpu_scaling_factor()
|
||||
|
||||
if debug_mode:
|
||||
timeout = 999
|
||||
|
|
|
|||
Loading…
Reference in New Issue