summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-05-03 17:37:09 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-05-03 17:37:09 +0200
commit8077d99fd2a85ee005d6dbb371ebb04092bd65bd (patch)
tree82f52cef9ac7bff140e4782c8fe5a9b36afcbc52 /test
parent23f83ba768e74f1b73aa30a556c0da4680c5abc8 (diff)
downloadsystemd-8077d99fd2a85ee005d6dbb371ebb04092bd65bd.tar.gz
test: vacuum the journal after the "stress test"
To make the rest of the test significantly faster.
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/testsuite-04.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/units/testsuite-04.sh b/test/units/testsuite-04.sh
index 265f7d9306..52a3f7776b 100755
--- a/test/units/testsuite-04.sh
+++ b/test/units/testsuite-04.sh
@@ -14,6 +14,7 @@ done
journalctl --rotate
journalctl --flush
journalctl --sync
+journalctl --rotate --vacuum-size=8M
# Reset the ratelimit buckets for the subsequent tests below.
systemctl restart systemd-journald