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:
parent
788c2d9523
commit
23126a7b9b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user