mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
TEST-60-MOUNT-RATELIMIT: disable journal ratelimiting
Otherwise, journal check in testcase_mount_ratelimit() may fail and we need to wait 2 minutes.
This commit is contained in:
@@ -321,6 +321,13 @@ testcase_mount_ratelimit() {
|
||||
systemd-analyze log-level debug
|
||||
systemd-analyze log-target journal
|
||||
|
||||
mkdir -p /run/systemd/journald.conf.d
|
||||
cat >/run/systemd/journald.conf.d/99-ratelimit.conf <<EOF
|
||||
[Journal]
|
||||
RateLimitBurst=0
|
||||
EOF
|
||||
systemctl restart systemd-journald.service
|
||||
|
||||
run_testcases
|
||||
|
||||
touch /testok
|
||||
|
||||
Reference in New Issue
Block a user