Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR] Add uncollect for more than 2 hosts and RHEVM and SCVMM providers #9854

Merged
merged 1 commit into from
Jan 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions cfme/tests/infrastructure/test_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,14 @@ def setup_provider_min_hosts(request, appliance, provider, num_hosts):
setup_or_skip(request, provider)


UNCOLLECT_REASON = "Not enough hosts on provider type."


@test_requirements.infra_hosts
@pytest.mark.parametrize("num_hosts", [1, 2, 4])
@pytest.mark.uncollectif(
lambda provider, num_hosts: provider.one_of(RHEVMProvider, SCVMMProvider) and num_hosts > 2,
reason=UNCOLLECT_REASON)
def test_infrastructure_hosts_refresh_multi(appliance, setup_provider_min_hosts, provider,
num_hosts):
"""
Expand Down