Skip to content

Commit af6cd2e

Browse files
[SYCL][E2E] Decrease per-test timeout in run-only mode
I've looked through logs of some recent pre-commit jobs (both Lin/Win) and the only test that was longer than 5 min on just some occasions is `KernelCompiler/sycl.cpp`. I talked to Chris and he'll upload a change to reduce its time soon. The rest seemed to be comfortably under 5 minutes, so set per-test timeout to that value in run-only mode.
1 parent ac30c32 commit af6cd2e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

sycl/test-e2e/lit.cfg.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,11 @@ def remove_level_zero_suffix(devices):
10111011
try:
10121012
import psutil
10131013

1014-
lit_config.maxIndividualTestTime = 600
1014+
if config.test_mode == "run-only":
1015+
lit_config.maxIndividualTestTime = 300
1016+
else:
1017+
lit_config.maxIndividualTestTime = 600
1018+
10151019
except ImportError:
10161020
pass
1021+

0 commit comments

Comments
 (0)