Skip to content

Commit

Permalink
ipatests: mark test_kdcproxy_handles_small_packets_from_ad xfail
Browse files Browse the repository at this point in the history
The test fails with older versions of kdcproxy as the related bug
was fixed in 0.4.2: latchset/kdcproxy#44
  • Loading branch information
sorlov-rh committed Apr 29, 2020
1 parent 53921df commit 99c87d9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ipatests/test_integration/test_http_kdc_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
from ipatests.pytest_ipa.integration.fixtures import ipa_ad_trust
from ipatests.pytest_ipa.integration.firewall import Firewall
from ipatests.test_integration.base import IntegrationTest
from ipatests.util import xfail_context
from ipaplatform.paths import paths


@pytest.mark.usefixtures('ipa_ad_trust')
class TestHttpKdcProxy(IntegrationTest):
topology = "line"
Expand Down Expand Up @@ -197,4 +197,9 @@ def test_kdcproxy_handles_small_packets_from_ad(self, users):
tasks.clear_sssd_cache(self.master)
user = users['ad']
with self.configure_kdc_proxy_for_ad_trust(use_tcp=True):
tasks.kinit_as_user(self.client, user['name'], user['password'])
kdcproxy_version = tasks.get_python_package_version(
self.master, 'kdcproxy')
with xfail_context(kdcproxy_version < tasks.parse_version('0.4.2'),
'https://github.com/latchset/kdcproxy/pull/44'):
tasks.kinit_as_user(
self.client, user['name'], user['password'])

0 comments on commit 99c87d9

Please sign in to comment.