Skip to content

Commit 7fde561

Browse files
authored
Merge pull request #320 from xcp-ng/fix-systemd-test-xostor
Fix systemd test with xostor
2 parents 9bbeb54 + 20d8600 commit 7fde561

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/system/test_systemd.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ def test_failed_units(host: Host) -> None:
2525
def test_verify_default_target(host: Host) -> None:
2626
analyse = host.ssh('systemd-analyze verify default.target')
2727
err = False
28+
polkit_msg = "Cannot add dependency job for unit polkit.service, ignoring: Unit not found."
2829
for line in analyse.splitlines():
30+
if line == polkit_msg:
31+
pytest.xfail(f"drbd-reactor package must be fixed to remove dep to polkit: {polkit_msg}")
2932
if line not in white_list_issues:
3033
logging.error(f"{line}")
3134
err = True

0 commit comments

Comments
 (0)