From 5750d058fae21dbfdd4a0fab8e26111f0a596f92 Mon Sep 17 00:00:00 2001 From: Rod Boev Date: Tue, 9 Jun 2026 14:17:59 -0400 Subject: [PATCH] fix(tests): use cross-platform pytest-timeout method (#39881) --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fc143a12bed..b2a486aefd0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -327,12 +327,12 @@ markers = [ "integration: marks tests requiring external services (API keys, Modal, etc.)", "real_concurrent_gate: opt out of the autouse stub that disables _detect_concurrent_hermes_instances", ] -# pytest-timeout: per-test 30s hard cap with signal method. +# pytest-timeout: per-test 30s hard cap with cross-platform thread method. # This is the fallback inside each per-file pytest subprocess (see # scripts/run_tests_parallel.py). Per-file isolation gives every test # file a fresh Python interpreter; pytest-timeout catches Python-level # hangs within a file. -addopts = "-m 'not integration' --timeout=30 --timeout-method=signal" +addopts = "-m 'not integration' --timeout=30 --timeout-method=thread" [tool.ty.environment] python-version = "3.13"