test_smb: skip test_smb_service_s4u2self for fed31
The test test_integration/test_smb.py::TestSMB::test_smb_service_s4u2self is expected to fail in Fedora <= 31 as it requires krb >= 1.18 that is shipped from fedora 32 only. Skip the test depending on the fedora version. Fixes: https://pagure.io/freeipa/issue/8505 Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
1 parent
b606fa6cca
commit
8ba15027d4
1 file changed
+4
@@ -17,6 +17,7 @@ import pytest
|
||||
|
||||
from ipatests.test_integration.base import IntegrationTest
|
||||
from ipatests.pytest_ipa.integration import tasks
|
||||
from ipaplatform.osinfo import osinfo
|
||||
from ipaplatform.paths import paths
|
||||
|
||||
|
||||
@@ -348,6 +349,9 @@ class TestSMB(IntegrationTest):
|
||||
finally:
|
||||
self.cleanup_mount(mount_point)
|
||||
|
||||
@pytest.mark.skipif(
|
||||
osinfo.id == 'fedora' and osinfo.version_number <= (31,),
|
||||
reason='Test requires krb 1.18')
|
||||
def test_smb_service_s4u2self(self, enable_smb_server_dns_lookup_kdc):
|
||||
"""Test S4U2Self operation by IPA service
|
||||
against both AD and IPA users
|
||||
|
||||
Reference in new issue
Block a user