]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: make TEST-60-MOUNT-RATELIMIT more robust
authorLuca Boccassi <luca.boccassi@gmail.com>
Sun, 31 May 2026 16:38:40 +0000 (17:38 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 1 Jun 2026 09:48:19 +0000 (11:48 +0200)
commitd0443c6d1a05d66898209a491ddc81b0740e1a2f
tree022eccba6c4ad6130c8ff4ee8b0eafa72e0b1b62
parent8ff7a5cd093b1a290351f8d10d24f6e4f7d8784b
test: make TEST-60-MOUNT-RATELIMIT more robust

TEST-60-MOUNT-RATELIMIT sometimes fails as it cannot see the 'left rate limit'
message in the journal. Tests relying on specific log messages are often flaky,
as the journal is lossy.
Change the test case to check for the desired outcome instead, as that also
catches regressions, without being over reliant on the journal.

Fixes https://github.com/systemd/systemd/issues/32712
test/units/TEST-60-MOUNT-RATELIMIT.sh