Skip to content

Commit e690537

Browse files
[SYCL][E2E] Decrease per-test timeout in run-only mode (#17758)
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 16a14c9 commit e690537

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sycl/test-e2e/lit.cfg.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,10 @@ 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

0 commit comments

Comments
 (0)