From a5372344eadaa44be3aeb68564b95f791cf11010 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Fri, 10 May 2019 18:33:35 +0200 Subject: [PATCH] tests: override a hard-coded timeout that kicks in too early (under ASan+UBSan) The test has failed two times today: https://travis-ci.org/systemd/systemd/jobs/530750626 and https://travis-ci.org/systemd/systemd/jobs/530759465. --- test/test-functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test-functions b/test/test-functions index f8dc44a6ef..30b559097b 100644 --- a/test/test-functions +++ b/test/test-functions @@ -391,6 +391,10 @@ printf "[Service]\nStandardOutput=file:/systemd-journald.out\n" >"\$JOURNALD_CON mkdir -p /etc/systemd/system/systemd-hwdb-update.service.d printf "[Unit]\nConditionVirtualization=container\n\n[Service]\nTimeoutSec=180s\n" >/etc/systemd/system/systemd-hwdb-update.service.d/env-override.conf +# Let's override another hard-coded timeout that kicks in too early +mkdir -p /etc/systemd/system/systemd-journal-flush.service.d +printf "[Service]\nTimeoutSec=180s\n" >/etc/systemd/system/systemd-journal-flush.service.d/timeout.conf + # The 'mount' utility doesn't behave well under libasan, causing unexpected # fails during boot and subsequent test results check: # bash-5.0# mount -o remount,rw -v /