Skip to content

Commit 8eb0db2

Browse files
committed
DEBUG: Remove timeout -k 5m command; see if pipelines finish
1 parent 75e22d1 commit 8eb0db2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.build/run-tests.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,14 +248,15 @@ _run_testlist() {
248248

249249
local -r _results_uuid="$(command -v uuidgen >/dev/null 2>&1 && uuidgen || cat /proc/sys/kernel/random/uuid)"
250250
local failures=0
251-
local -r _test_timeout_secs=$((_test_timeout/1000))
251+
# local -r _test_timeout_secs=$((_test_timeout/1000))
252252
for ((i=0; i < _test_iterations; i++)); do
253253
[ "${_test_iterations}" -eq 1 ] || printf "–––– run ${i}\n"
254254
set +o errexit
255+
# TODO PRE COMMIT: Pull this out if we don't need it in the ASF PRECI space
255256
# We wrap this in a kill timeout since we fork for junit tests and OOMs or other hangs can make things pause for
256257
# much longer than desired.
257-
timeout -k 5m "${_test_timeout_secs}s" \
258-
ant "$_testlist_target" \
258+
#timeout -k 5m "${_test_timeout_secs}s" \
259+
ant "$_testlist_target" \
259260
-Dtest.classlistprefix="${_target_prefix}" \
260261
-Dtest.classlistfile=<(echo "${testlist}") \
261262
-Dtest.timeout="${_test_timeout}" \

0 commit comments

Comments
 (0)