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

[1LP][RFR] Transfer tests to jhenner. #9984

Merged
merged 4 commits into from
Mar 23, 2020
Merged
Show file tree
Hide file tree
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/test_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@ def test_quota_alert():
priority='lowest',
)

ha_proxy = pytest.mark.requirement(
"Database HA proxy",
description='Database HA proxy and replication',
assignee_id='jhenner',
)

distributed = pytest.mark.requirement(
"Distributed Appliances",
description='Distributed Appliance deployment, configuration, and interaction',
Expand Down
3 changes: 2 additions & 1 deletion cfme/tests/cli/test_appliance_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,13 @@ def test_appliance_console_cli_configure_dedicated_db(unconfigured_appliance, ap
wait_for(lambda: unconfigured_appliance.db.is_dedicated_active)


@test_requirements.ha_proxy
@pytest.mark.tier(2)
def test_appliance_console_cli_ha_crud(unconfigured_appliances, app_creds):
"""Tests the configuration of HA with three appliances including failover to standby node

Polarion:
assignee: sbulage
assignee: jhenner
caseimportance: high
casecomponent: Appliance
initialEstimate: 1h
Expand Down
31 changes: 19 additions & 12 deletions cfme/tests/cli/test_appliance_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ def test_appliance_console_dedicated_db(unconfigured_appliance, app_creds):
wait_for(lambda: unconfigured_appliance.db.is_dedicated_active)


@test_requirements.appliance
@test_requirements.ha_proxy
@pytest.mark.tier(2)
def test_appliance_console_ha_crud(unconfigured_appliances, app_creds):
"""Testing HA configuration with 3 appliances.
Expand Down Expand Up @@ -306,9 +308,9 @@ def test_appliance_console_ha_crud(unconfigured_appliances, app_creds):


Polarion:
assignee: sbulage
assignee: jhenner
caseimportance: high
casecomponent: Appliance
casecomponent: HAProxy
initialEstimate: 1h
testtype: structural
"""
Expand Down Expand Up @@ -723,6 +725,7 @@ def test_appliance_console_static_ipv6(unconfigured_appliance, soft_assert):
"ip -6 r show dev eth0 | grep 'default via 1::f'"))


@test_requirements.ha_proxy
@pytest.mark.manual
@pytest.mark.tier(2)
def test_appliance_console_haproxy():
Expand All @@ -732,8 +735,8 @@ def test_appliance_console_haproxy():
tml/high_availability_guide/configuring_haproxy

Polarion:
assignee: sbulage
casecomponent: Replication
assignee: jhenner
casecomponent: HAProxy
caseimportance: medium
initialEstimate: 1/2h
setup: setup HA following https://mojo.redhat.com/docs/DOC-1097888
Expand All @@ -744,6 +747,7 @@ def test_appliance_console_haproxy():
pass


@test_requirements.ha_proxy
@pytest.mark.manual
@pytest.mark.tier(2)
def test_appliance_console_ha_setup_dc():
Expand All @@ -762,8 +766,8 @@ def test_appliance_console_ha_setup_dc():
majority.

Polarion:
assignee: sbulage
casecomponent: Replication
assignee: jhenner
casecomponent: HAProxy
initialEstimate: 1/2h
setup: provision 3 appliances
setup HA following https://mojo.redhat.com/docs/DOC-1097888
Expand Down Expand Up @@ -818,6 +822,7 @@ def test_appliance_console_restart(temp_appliance_preconfig_funcscope):
navigate_to(appliance.server, "LoggedIn")


@test_requirements.ha_proxy
@pytest.mark.manual
@pytest.mark.tier(2)
def test_appliance_console_ha_dc_re_establish():
Expand All @@ -829,8 +834,8 @@ def test_appliance_console_ha_dc_re_establish():
tml/high_availability_guide//installation

Polarion:
assignee: sbulage
casecomponent: Replication
assignee: jhenner
casecomponent: HAProxy
initialEstimate: 1/2h
setup: Restore network connectivity between DC1 and DC2
startsin: 5.8
Expand Down Expand Up @@ -986,6 +991,7 @@ def test_appliance_ssl(appliance):
assert re.search("hostssl +all +all +all +md5", result.output), "hostssl entry not found"


@test_requirements.ha_proxy
@pytest.mark.manual
@pytest.mark.tier(2)
def test_appliance_console_restore_ha_standby_node():
Expand All @@ -997,8 +1003,8 @@ def test_appliance_console_restore_ha_standby_node():
start rh-postgresql95-repmgr` after the restore is finished.

Polarion:
assignee: sbulage
casecomponent: Replication
assignee: jhenner
casecomponent: HAProxy
caseimportance: medium
initialEstimate: 1/2h
setup: provision 3 appliances
Expand Down Expand Up @@ -1363,6 +1369,7 @@ def test_appliance_console_static_ip_negative(temp_appliance_preconfig_modscope)
f"old {original_ipv6} IPV6 is not found on console appliance")


@test_requirements.ha_proxy
@pytest.mark.manual
@pytest.mark.tier(2)
def test_appliance_console_ha_dc_failover():
Expand All @@ -1376,8 +1383,8 @@ def test_appliance_console_ha_dc_failover():
tml/high_availability_guide//installation

Polarion:
assignee: sbulage
casecomponent: Replication
assignee: jhenner
casecomponent: HAProxy
initialEstimate: 1/2h
setup: Setup HA
startsin: 5.8
Expand Down
10 changes: 5 additions & 5 deletions cfme/tests/configure/test_log_depot_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def test_collect_log_depot(log_depot, appliance, service_request, configured_dep
Will be extended and improved.

Polarion:
assignee: anikifor
assignee: jhenner
casecomponent: Configuration
initialEstimate: 1/4h
caseimportance: critical
Expand Down Expand Up @@ -247,7 +247,7 @@ def test_collect_unconfigured(appliance):


Polarion:
assignee: anikifor
assignee: jhenner
casecomponent: Configuration
caseimportance: low
initialEstimate: 1/4h
Expand Down Expand Up @@ -279,7 +279,7 @@ def test_collect_multiple_servers(log_depot, temp_appliance_preconfig, depot_mac

"""
Polarion:
assignee: anikifor
assignee: jhenner
casecomponent: Configuration
initialEstimate: 1/4h
"""
Expand Down Expand Up @@ -336,7 +336,7 @@ def test_collect_single_servers(log_depot, appliance, depot_machine_ip, request,
collect_type):
"""
Polarion:
assignee: anikifor
assignee: jhenner
casecomponent: Configuration
initialEstimate: 1/4h
"""
Expand Down Expand Up @@ -386,7 +386,7 @@ def test_log_collection_over_ipv6(log_depot, depot_machine_ipv4_and_ipv6, applia
collection succeeds.

Polarion:
assignee: anikifor
assignee: jhenner
casecomponent: Configuration
caseimportance: medium
initialEstimate: 1/4h
Expand Down
8 changes: 4 additions & 4 deletions cfme/tests/configure/test_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_provider_log_exists(log_exists):
test_flag: log

Polarion:
assignee: anikifor
assignee: jhenner
casecomponent: Configuration
initialEstimate: 1/4h
"""
Expand All @@ -58,7 +58,7 @@ def test_provider_log_rotate(appliance, provider, log_exists):
test_flag: log

Polarion:
assignee: anikifor
assignee: jhenner
initialEstimate: 1/4h
casecomponent: Configuration
"""
Expand Down Expand Up @@ -88,7 +88,7 @@ def test_provider_log_updated(appliance, provider, log_exists):
test_flag: log

Polarion:
assignee: anikifor
assignee: jhenner
initialEstimate: 1/4h
casecomponent: Configuration
"""
Expand Down Expand Up @@ -120,7 +120,7 @@ def test_provider_log_level(appliance, provider, log_exists):
test_flag: log

Polarion:
assignee: anikifor
assignee: jhenner
initialEstimate: 1/4h
casecomponent: Configuration
testSteps:
Expand Down
24 changes: 12 additions & 12 deletions cfme/tests/infrastructure/test_config_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def config_system(provider):
def test_config_manager_detail_config_btn(provider):
"""
Polarion:
assignee: nachandr
assignee: jhenner
caseimportance: medium
initialEstimate: 1/2h
casecomponent: Ansible
Expand All @@ -45,7 +45,7 @@ def test_config_manager_detail_config_btn(provider):
def test_config_manager_add(provider):
"""
Polarion:
assignee: nachandr
assignee: jhenner
casecomponent: Ansible
initialEstimate: 1/4h
"""
Expand All @@ -56,7 +56,7 @@ def test_config_manager_add(provider):
def test_config_manager_add_invalid_url(has_no_providers, provider):
"""
Polarion:
assignee: nachandr
assignee: jhenner
caseimportance: medium
initialEstimate: 1/15h
casecomponent: Ansible
Expand All @@ -72,7 +72,7 @@ def test_config_manager_add_invalid_url(has_no_providers, provider):
def test_config_manager_add_invalid_creds(has_no_providers, provider):
"""
Polarion:
assignee: nachandr
assignee: jhenner
caseimportance: medium
initialEstimate: 1/4h
casecomponent: Ansible
Expand All @@ -92,7 +92,7 @@ def test_config_manager_add_invalid_creds(has_no_providers, provider):
def test_config_manager_edit(request, provider):
"""
Polarion:
assignee: nachandr
assignee: jhenner
caseimportance: medium
initialEstimate: 1/15h
casecomponent: Ansible
Expand All @@ -110,7 +110,7 @@ def test_config_manager_edit(request, provider):
def test_config_manager_remove(request, provider):
"""
Polarion:
assignee: nachandr
assignee: jhenner
caseimportance: medium
initialEstimate: 1/15h
casecomponent: Ansible
Expand Down Expand Up @@ -165,7 +165,7 @@ def test_ansible_tower_job_templates_tag(request, provider, tag):
def test_ansible_tower_service_dialog_creation_from_template(provider, template_type):
"""
Polarion:
assignee: nachandr
assignee: jhenner
initialEstimate: 1/4h
casecomponent: Ansible
caseimportance: high
Expand Down Expand Up @@ -196,7 +196,7 @@ def test_config_manager_add_multiple_times_ansible_tower_243():
should fail and flash message should be displayed.

Polarion:
assignee: nachandr
assignee: jhenner
caseimportance: medium
caseposneg: negative
casecomponent: Ansible
Expand All @@ -217,7 +217,7 @@ def test_config_manager_job_template_refresh():
template name was changed.

Polarion:
assignee: nachandr
assignee: jhenner
casecomponent: Ansible
caseimportance: low
initialEstimate: 1/2h
Expand All @@ -237,7 +237,7 @@ def test_config_manager_accordion_tree():
1560552

Polarion:
assignee: nachandr
assignee: jhenner
casecomponent: WebUI
caseimportance: low
initialEstimate: 1/4h
Expand All @@ -259,7 +259,7 @@ def test_config_manager_remove_objects_ansible_tower_310():
tower job templates) were left in the UI

Polarion:
assignee: nachandr
assignee: jhenner
caseimportance: medium
casecomponent: Ansible
initialEstimate: 1/4h
Expand All @@ -281,7 +281,7 @@ def test_config_manager_change_zone():
1353015

Polarion:
assignee: nachandr
assignee: jhenner
casecomponent: Provisioning
caseimportance: medium
initialEstimate: 1h
Expand Down
4 changes: 2 additions & 2 deletions cfme/tests/infrastructure/test_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def test_hosts_not_displayed_several_times(appliance, provider, setup_provider):
"""Tests hosts not displayed several times after removing and adding provider.

Polarion:
assignee: anikifor
assignee: jhenner
initialEstimate: 1/20h
casecomponent: Infra
"""
Expand Down Expand Up @@ -527,7 +527,7 @@ def test_add_ipmi_refresh(appliance, setup_provider):
1669011

Polarion:
assignee: anikifor
assignee: jhenner
initialEstimate: 1/20h
caseimportance: medium
casecomponent: Infra
Expand Down
2 changes: 1 addition & 1 deletion cfme/tests/infrastructure/test_iso_datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_iso_datastore_crud(setup_provider, no_iso_dss, provider):
test_flag: iso

Polarion:
assignee: anikifor
assignee: jhenner
initialEstimate: 1/4h
casecomponent: Infra
caseimportance: critical
Expand Down
4 changes: 2 additions & 2 deletions cfme/tests/infrastructure/test_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def test_provider_rhv_create_delete_tls(request, provider, verify_tls):
def test_rhv_guest_devices_count(appliance, setup_provider, provider):
"""
Polarion:
assignee: anikifor
assignee: jhenner
casecomponent: Infra
caseimportance: high
initialEstimate: 1/6h
Expand Down Expand Up @@ -389,7 +389,7 @@ def test_rhv_custom_attributes_after_refresh(appliance, setup_provider, provider
1594817

Polarion:
assignee: anikifor
assignee: jhenner
casecomponent: Infra
caseimportance: high
initialEstimate: 1/8h
Expand Down
2 changes: 1 addition & 1 deletion cfme/tests/infrastructure/test_publish_vm_to_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def test_publish_vm_to_template(request, vm_crud):


Polarion:
assignee: anikifor
assignee: jhenner
initialEstimate: 1/4h
casecomponent: Provisioning
caseimportance: critical
Expand Down
Loading