This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 955c7860be [Tests] Fix flaky popen pool executor test (#19746)
955c7860be is described below

commit 955c7860be0176c64a3c1bd0f1abeb0fcefcf81e
Author: Shushi Hong <[email protected]>
AuthorDate: Fri Jun 12 08:30:14 2026 -0400

    [Tests] Fix flaky popen pool executor test (#19746)
    
    This pr increases the timeout in `test_popen_pool_executor` from 10ms to
    15ms.
    
    The original 10ms timeout could race with the `terminate_self()` case
    under local/full-suite load, causing the worker-exit path to be reported
    as `TimeoutError` instead of `ChildProcessError`.
---
 tests/python/support/test_popen_pool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/python/support/test_popen_pool.py 
b/tests/python/support/test_popen_pool.py
index d60ba22109..8e09c977f8 100644
--- a/tests/python/support/test_popen_pool.py
+++ b/tests/python/support/test_popen_pool.py
@@ -90,7 +90,7 @@ def test_popen_pool_executor():
 
     import tvm
 
-    pool = PopenPoolExecutor(max_workers=2, timeout=0.01)
+    pool = PopenPoolExecutor(max_workers=2, timeout=0.015)
     value1 = pool.submit(identity_after, 1, 100)
     value2 = pool.submit(terminate_self)
     value3 = pool.submit(identity_after, 3, 0)

Reply via email to