From 26a86955c776b5c0e17221ec4a594779898a1534 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Fri, 10 Apr 2026 16:52:29 -0700 Subject: [PATCH] Add EMTEST_TIMEOUT environment variable This is useful when debugging tests that are timing out without having to wait the full default of 5 minutes to get the failure. --- test/jsrun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jsrun.py b/test/jsrun.py index 9cffe16da6df9..88015b40088d2 100644 --- a/test/jsrun.py +++ b/test/jsrun.py @@ -15,7 +15,7 @@ from tools import utils WORKING_ENGINES = {} # Holds all configured engines and whether they work: maps path -> True/False -DEFAULT_TIMEOUT = 5 * 60 +DEFAULT_TIMEOUT = int(os.environ.get('EMTEST_TIMEOUT', str(5 * 60))) def make_command(filename, engine, args=None):