URL: https://github.com/freeipa/freeipa/pull/1791 Author: Tiboris Title: #1791: [Backport][ipa-4-6] [Test fix] Fix in IPA's multihost fixture Action: opened
PR body: """ This PR was opened automatically because PR #1783 was pushed to master and backport to ipa-4-6 is required. """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1791/head:pr1791 git checkout pr1791
From ab80f984a2ee180cd69e6dd814767d217bd6aad4 Mon Sep 17 00:00:00 2001 From: Ganna Kaihorodova <gkaih...@redhat.com> Date: Thu, 5 Apr 2018 16:02:21 +0200 Subject: [PATCH] Fix in IPA's multihost fixture AD related tests, which aren't require all set of AD machines were skipped with error msg: Not enough resources configured. Changed hard coded number of AD machines to use. --- ipatests/pytest_plugins/integration/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ipatests/pytest_plugins/integration/__init__.py b/ipatests/pytest_plugins/integration/__init__.py index 2c107b926b..6e27ebf4eb 100644 --- a/ipatests/pytest_plugins/integration/__init__.py +++ b/ipatests/pytest_plugins/integration/__init__.py @@ -217,7 +217,11 @@ def mh(request, class_integration_logs): for _i in range(cls.num_ad_domains): domain_descriptions.append({ 'type': 'AD', - 'hosts': {'ad': 1, 'ad_subdomain': 1, 'ad_treedomain': 1}, + 'hosts': { + 'ad': 1, + 'ad_subdomain': cls.num_ad_domains, + 'ad_treedomain': cls.num_ad_domains, + } }) mh = make_multihost_fixture(
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org