From 09691afc76f150144a12013fa0800741f02995b4 Mon Sep 17 00:00:00 2001 From: alberto Date: Sat, 28 Nov 2026 16:31:45 -0600 Subject: [PATCH] TEA gate: the 62-EEG analysis may take up to an hour on a 2-CPU test container --- tests/test_tea.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tea.py b/tests/test_tea.py index 679622d..899608c 100644 --- a/tests/test_tea.py +++ b/tests/test_tea.py @@ -188,7 +188,7 @@ def test_tea_from_the_hospital_to_indicators(api, platform, tmp_path): assert (css, label) == (theirs["ado_css"], CLASSIFICATION[theirs["ado_clasificacion"]]) # The EEG analysis: every signal's verdict, level and metrics are the current platform's. - wait_for(api, ok(api.post("/models/tea/analyze"))["run_id"], 1800) + wait_for(api, ok(api.post("/models/tea/analyze"))["run_id"], 3600) # 62 EEGs, 2 CPUs: ~45 min with sqlite3.connect(db) as con: signals = con.execute("select eeg_id, eeg_estudio from eeg where eeg_estudio is not null") hashes = {i: hashlib.sha256(b).hexdigest() for i, b in signals}