mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
journal: reduce test-journal-send timeout from 10s to 1s
The sleep(10) in test-journal-send is quite aggressive. We need it only for the journal to get our cgroup information. But even that information is not vital to the test, so a sleep(1) should be just fine.
This commit is contained in:
parent
5ab887e98d
commit
037ee337f0
|
@ -72,7 +72,7 @@ int main(int argc, char *argv[]) {
|
|||
"N_CPUS=%li", sysconf(_SC_NPROCESSORS_ONLN),
|
||||
NULL);
|
||||
|
||||
sleep(10);
|
||||
sleep(1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue