URL: https://github.com/freeipa/freeipa/pull/1840 Author: gkaihorodova Title: #1840: [Test fix] Fix trust tests for Posix Support Action: opened
PR body: """ Test ecxpects auto-detection of trust type, Windows Server 2016 doesn't have support for MFU/NIS (SFU - Services for Unix), so auto detection doesn't work Fix is to pass extra arguments to the trust-add command, such as --range-type="ipa-ad-trust-posix" to enforce a particular range type https://pagure.io/freeipa/issue/7508 """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1840/head:pr1840 git checkout pr1840
From 3741db8e6e7186c233f708ab27bf873d5c26171d Mon Sep 17 00:00:00 2001 From: Ganna Kaihorodova <gkaih...@redhat.com> Date: Fri, 20 Apr 2018 11:14:56 +0200 Subject: [PATCH] [Test fix] Fix trust tests for Posix Support Test ecxpects auto-detection of trust type, Windows Server 2016 doesn't have support for MFU/NIS (SFU - Services for Unix), so auto detection doesn't work Fix is to pass extra arguments to the trust-add command, such as --range-type="ipa-ad-trust-posix" to enforce a particular range type https://pagure.io/freeipa/issue/7508 --- ipatests/test_integration/test_trust.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipatests/test_integration/test_trust.py b/ipatests/test_integration/test_trust.py index c7f0e43a6c..56365fb8bb 100644 --- a/ipatests/test_integration/test_trust.py +++ b/ipatests/test_integration/test_trust.py @@ -209,7 +209,8 @@ class TestPosixADTrust(ADTrustBase): def test_establish_trust(self): # Not specifying the --range-type directly, it should be detected - tasks.establish_trust_with_ad(self.master, self.ad_domain) + tasks.establish_trust_with_ad(self.master, self.ad_domain, + extra_args=['--range-type', 'ipa-ad-trust-posix']) def test_range_properties_in_posix_trust(self): # Check the properties of the created range
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org