From 15b166ce6ded51d94f560692db1db8b06f592105 Mon Sep 17 00:00:00 2001 From: chenyu Date: Sun, 14 Sep 2025 16:48:40 -0400 Subject: [PATCH] bump test_module_runs to 30 seconds (#12174) 25 seconds sometimes --- test/unit/test_device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/test_device.py b/test/unit/test_device.py index d351f3186f..6555508934 100644 --- a/test/unit/test_device.py +++ b/test/unit/test_device.py @@ -101,7 +101,7 @@ class TestCompiler(unittest.TestCase): class TestRunAsModule(unittest.TestCase): def test_module_runs(self): p = subprocess.run([sys.executable, "-m", "tinygrad.device"],stdout=subprocess.PIPE, stderr=subprocess.PIPE, - env={**os.environ, "DEBUG": "1"}, timeout=20,) + env={**os.environ, "DEBUG": "1"}, timeout=30,) out = (p.stdout + p.stderr).decode() self.assertEqual(p.returncode, 0, msg=out) self.assertIn("CPU", out) # for sanity check