summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-07-18 12:58:00 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-07-18 12:58:00 +0200
commit037ee337f0f64bd35ced765f2e2d97f496d4e7c7 (patch)
treea240cae3c8804d1152930d53b6a98355d6cceddd /src/journal
parent5ab887e98d80ffaf05a97abe4cdc1553a85f0637 (diff)
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.
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/test-journal-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/test-journal-send.c b/src/journal/test-journal-send.c
index 3e986ed99a..45eb327609 100644
--- a/src/journal/test-journal-send.c
+++ b/src/journal/test-journal-send.c
@@ -72,7 +72,7 @@ int main(int argc, char *argv[]) {
"N_CPUS=%li", sysconf(_SC_NPROCESSORS_ONLN),
NULL);
- sleep(10);
+ sleep(1);
return 0;
}