Skip to content

Commit

Permalink
UEFI tests: in pool join tests, fail if second pool not in right version
Browse files Browse the repository at this point in the history
Previously, the test would be skipped. We want it to be an error.

Signed-off-by: Samuel Verschelde <[email protected]>
  • Loading branch information
stormi committed Oct 25, 2023
1 parent 26493c0 commit e4e9f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/uefi_sb/test_cert_inheritance.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def keys_auths_for_joined_host(self, host, hostB1):
from packaging import version
version_str = "8.3"
if not hostB1.xcp_version >= version.parse(version_str):
pytest.skip(f"This test requires a second XCP-ng pool with version >= {version_str}")
pytest.fail(f"This test requires a second XCP-ng pool with version >= {version_str}")

# Install certs before host join
keys = ['PK', 'KEK', 'db', 'dbx']
Expand Down

0 comments on commit e4e9f5f

Please sign in to comment.