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.

Reviewed-By: Aleksei Slaikovskii <aslaikov@redhat.com>
This commit is contained in:
Ganna Kaihorodova 2018-04-05 16:02:21 +02:00 committed by Tibor Dudlák
parent 888d9861f8
commit 28acbc6c11
No known key found for this signature in database
GPG Key ID: 12B8BD343576CDF5

View File

@ -218,7 +218,11 @@ def mh(request, class_integration_logs):
for _i in range(cls.num_ad_domains): for _i in range(cls.num_ad_domains):
domain_descriptions.append({ domain_descriptions.append({
'type': 'AD', '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( mh = make_multihost_fixture(