mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-05 21:21:49 +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. (cherry picked from commit037ee337f0) (cherry picked from commit918af53be9)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
7f70164f5c
commit
6fd930fae5
@@ -72,7 +72,7 @@ int main(int argc, char *argv[]) {
|
||||
"N_CPUS=%li", sysconf(_SC_NPROCESSORS_ONLN),
|
||||
NULL);
|
||||
|
||||
sleep(10);
|
||||
sleep(1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user