1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 06:25:37 +03:00

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
This commit is contained in:
Mike Gilbert 2022-01-06 14:12:33 -05:00
parent 788c2d9523
commit 23126a7b9b

View File

@ -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);