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()`.
|
N local tasks using `trionics.maybe_open_context()`.
|
||||||
|
|
||||||
'''
|
'''
|
||||||
timeout: float = 3.6
|
from .conftest import cpu_scaling_factor
|
||||||
if platform.system() == "Windows":
|
timeout: float = (
|
||||||
timeout: float = 10
|
4
|
||||||
|
if not platform.system() == "Windows"
|
||||||
|
else 10
|
||||||
|
) * cpu_scaling_factor()
|
||||||
|
|
||||||
if debug_mode:
|
if debug_mode:
|
||||||
timeout = 999
|
timeout = 999
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue