From: Mike Gilbert Date: Thu, 6 Jan 2022 19:12:33 +0000 (-0500) Subject: test-watchdog: set timeout to 2 seconds by default X-Git-Tag: v251-rc1~578^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F22031%2Fhead;p=thirdparty%2Fsystemd.git test-watchdog: set timeout to 2 seconds by default Some hardware/drivers do not handle a 1 second timeout properly. Fixes: https://github.com/systemd/systemd/issues/22001 --- diff --git a/src/test/test-watchdog.c b/src/test/test-watchdog.c index 78151beff65..2b6d5b5b619 100644 --- a/src/test/test-watchdog.c +++ b/src/test/test-watchdog.c @@ -17,7 +17,7 @@ int main(int argc, char *argv[]) { slow = slow_tests_enabled(); - t = slow ? 10 * USEC_PER_SEC : 1 * USEC_PER_SEC; + t = slow ? 10 * USEC_PER_SEC : 2 * USEC_PER_SEC; count = slow ? 5 : 3; r = watchdog_setup(t);