test: mask mdmonitor when building image

Follow-up for 22e31655f3.
This commit is contained in:
Yu Watanabe
2023-12-13 14:28:03 +09:00
parent 4ed943e97b
commit 0f236e8cd6
2 changed files with 4 additions and 4 deletions
-4
View File
@@ -1159,10 +1159,6 @@ testcase_mdadm_lvm() {
helper_check_device_units
}
# Disable the mdmonitor service, since it fails if there's no valid email address
# configured in /etc/mdadm.conf, which just unnecessarily pollutes the logs
systemctl list-unit-files mdmonitor.service >/dev/null && systemctl mask --runtime mdmonitor.service
udevadm settle
udevadm control --log-level debug
lsblk -a