Skip to content

Commit 571c355

Browse files
committed
ci: fix test timeout in valgrind jobs
1 parent 70d5c02 commit 571c355

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.gitlab/ci/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,10 @@ variables:
252252
;;
253253
valgrind)
254254
G_DEBUG=gc-friendly G_SLICE=always-malloc
255-
ctest_extra="-T memcheck -LE NO_MEMCHECK --test-timeout 10800"
255+
# Default timeout per test is 1500 (25 min)
256+
export CTEST_TIMEOUT=2700
257+
export CTEST_TEST_TIMEOUT=${CTEST_TIMEOUT}
258+
ctest_extra="-T memcheck -LE NO_MEMCHECK --timeout ${CTEST_TIMEOUT}"
256259
;;
257260
esac
258261
if [ -n "${FINGERPRINT}" ]; then

0 commit comments

Comments
 (0)