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

[RFR] Cover 1749494 #10145

Merged
merged 1 commit into from
May 28, 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
26 changes: 26 additions & 0 deletions cfme/tests/test_appliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,3 +497,29 @@ def test_ec2_deploy_cfme_image():
4. CFME appliance should work
"""
pass


@pytest.mark.tier(1)
@pytest.mark.meta(automates=[BZ(1749494)])
def test_appliance_top_output_log(appliance):
"""
check logs contains usable process names

Bugzilla:
1749494

Polarion:
assignee: jhenner
casecomponent: Appliance
caseimportance: high
initialEstimate: 1/4h
"""

some_expected_processes = (
"MIQ Server",
"MIQ: MiqGenericWorker",
"MIQ: MiqPriorityWorker",
"MIQ: MiqScheduleWorker")
for process_name in some_expected_processes:
assert appliance.ssh_client.run_command(
f'grep -q "{process_name}" /var/www/miq/vmdb/log/top_output.log')