mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
increase timeout in test_module_runs (#12408)
This commit is contained in:
parent
2f8ac77c25
commit
3e0e0290ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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=30,)
|
||||
env={**os.environ, "DEBUG": "1"}, timeout=40,)
|
||||
out = (p.stdout + p.stderr).decode()
|
||||
self.assertEqual(p.returncode, 0, msg=out)
|
||||
self.assertIn("CPU", out) # for sanity check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue